CacheClientFactory
public
final
class
CacheClientFactory
extends Object
java.lang.Object | |
↳ | com.android.tradefed.util.CacheClientFactory |
A factory that creates a singleton instance of ICacheClient
.
Summary
Public constructors | |
---|---|
CacheClientFactory()
|
Public methods | |
---|---|
static
ICacheClient
|
createCacheClient(File workFolder, String instanceName)
Creates a singleton instance of |
Public constructors
CacheClientFactory
public CacheClientFactory ()
Public methods
createCacheClient
public static ICacheClient createCacheClient (File workFolder, String instanceName)
Creates a singleton instance of ICacheClient
.
Only one singleton instance will be created and shared everywhere in this invocation. This method is thread-safe.
Parameters | |
---|---|
workFolder |
File : The work folder where the client creates temporary files. |
instanceName |
String : The instance name of the remote execution API. |
Returns | |
---|---|
ICacheClient |
An instance of ICacheClient . |