CacheClientFactory

public final class CacheClientFactory
extends Object

java.lang.Object
com.android.tradefed.util.CacheClientFactory


Fabrique qui crée une instance singleton de ICacheClient.

Résumé

Constructeurs publics

CacheClientFactory()

Méthodes publiques

static ICacheClient createCacheClient(File workFolder, String instanceName)

Crée une instance singleton de ICacheClient.

Constructeurs publics

CacheClientFactory

public CacheClientFactory ()

Méthodes publiques

createCacheClient

public static ICacheClient createCacheClient (File workFolder, 
                String instanceName)

Crée une instance singleton de ICacheClient.

Une seule instance singleton sera créée et partagée partout dans cet appel. Cette méthode est thread-safe.

Paramètres
workFolder File : dossier de travail dans lequel le client crée des fichiers temporaires.

instanceName String : nom d'instance de l'API d'exécution à distance.

Renvoie
ICacheClient Instance de ICacheClient.