public class SingletonArtifactCacheFactory extends Object implements ArtifactCacheFactory
Constructor and Description |
---|
SingletonArtifactCacheFactory(ArtifactCache artifactCache) |
Modifier and Type | Method and Description |
---|---|
ArtifactCacheFactory |
cloneWith(BuckConfig newConfig) |
ArtifactCache |
localOnlyInstance() |
ArtifactCache |
newInstance() |
ArtifactCache |
remoteOnlyInstance() |
public SingletonArtifactCacheFactory(ArtifactCache artifactCache)
public ArtifactCache newInstance()
newInstance
in interface ArtifactCacheFactory
public ArtifactCache remoteOnlyInstance()
remoteOnlyInstance
in interface ArtifactCacheFactory
public ArtifactCache localOnlyInstance()
localOnlyInstance
in interface ArtifactCacheFactory
public ArtifactCacheFactory cloneWith(BuckConfig newConfig)
cloneWith
in interface ArtifactCacheFactory