ClusteredInstanceFactory for the cluster
| Modifier and Type | Field and Description |
|---|---|
| private final TerracottaCacheCluster | |
| private final CacheManager | |
| private volatile ClusteredInstanceFactoryWrapper | |
| public static final String | CUSTOM_SECRET_PROVIDER_SYSTEM_PROPERTY
System property used to specify the secrect provider to use |
| private static final String | |
| private ExecutorService | |
| private static final Logger | |
| private static final int | |
| private final TerracottaClientConfiguration |
| Access | Constructor and Description |
|---|---|
| public | TerracottaClient(CacheManager
the cache manager to be clustered cacheManager, TerracottaClientConfiguration the configuration for the terracotta client terracottaClientConfiguration)Constructor accepting the |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the clusteredInstanceFactory was created, otherwise returns falseReturns true if the clusteredInstanceFactory was created, otherwise returns false. |
| private synchronized ClusteredInstanceFactoryWrapper | |
| private void | |
| public TerracottaCacheCluster | Returns: theCacheCluster associated with this clientGet the |
| private String | |
| public ClusteredInstanceFactory | Returns: The ClusteredInstanceFactoryReturns the |
| private synchronized ExecutorService | |
| private String | |
| private void | |
| private void | |
| private static void | |
| public synchronized void | |
| private void | |
| public void | waitForOrchestrator(String
Name of the cache manager cacheManagerName)Wait for the Orchestrator for this CacheManager |
| private void |
| cacheCluster | back to summary |
|---|---|
| private final TerracottaCacheCluster cacheCluster | |
| cacheManager | back to summary |
|---|---|
| private final CacheManager cacheManager | |
| clusteredInstanceFactory | back to summary |
|---|---|
| private volatile ClusteredInstanceFactoryWrapper clusteredInstanceFactory | |
| CUSTOM_SECRET_PROVIDER_SYSTEM_PROPERTY | back to summary |
|---|---|
| public static final String CUSTOM_SECRET_PROVIDER_SYSTEM_PROPERTY System property used to specify the secrect provider to use | |
| CUSTOM_SECRET_PROVIDER_WRAPPER_CLASSNAME | back to summary |
|---|---|
| private static final String CUSTOM_SECRET_PROVIDER_WRAPPER_CLASSNAME | |
| l1TerminatorThreadPool | back to summary |
|---|---|
| private ExecutorService l1TerminatorThreadPool | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| REJOIN_SLEEP_MILLIS_ON_EXCEPTION | back to summary |
|---|---|
| private static final int REJOIN_SLEEP_MILLIS_ON_EXCEPTION | |
| terracottaClientConfiguration | back to summary |
|---|---|
| private final TerracottaClientConfiguration terracottaClientConfiguration | |
| TerracottaClient | back to summary |
|---|---|
| public TerracottaClient(CacheManager cacheManager, TerracottaClientConfiguration terracottaClientConfiguration) Constructor accepting the
| |
| createClusteredInstanceFactory | back to summary |
|---|---|
| public boolean createClusteredInstanceFactory() Returns true if the clusteredInstanceFactory was created, otherwise returns false. Multiple threads calling this method block and only one of them creates the factory.
| |
| createNewClusteredInstanceFactory | back to summary |
|---|---|
| private synchronized ClusteredInstanceFactoryWrapper createNewClusteredInstanceFactory() | |
| debug | back to summary |
|---|---|
| private void debug(String msg) | |
| getCacheCluster | back to summary |
|---|---|
| public TerracottaCacheCluster getCacheCluster() Get the
| |
| getCacheManagerName | back to summary |
|---|---|
| private String getCacheManagerName() | |
| getClusteredInstanceFactory | back to summary |
|---|---|
| public ClusteredInstanceFactory getClusteredInstanceFactory() Returns the
| |
| getL1TerminatorThreadPool | back to summary |
|---|---|
| private synchronized ExecutorService getL1TerminatorThreadPool() | |
| getLogPrefix | back to summary |
|---|---|
| private String getLogPrefix() | |
| info | back to summary |
|---|---|
| private void info(String msg) | |
| info | back to summary |
|---|---|
| private void info(String msg, Throwable t) | |
| setTestMode | back to summary |
|---|---|
| private static void setTestMode(TerracottaClusteredInstanceHelper testHelper) | |
| shutdown | back to summary |
|---|---|
| public synchronized void shutdown() Shuts down the client | |
| shutdownClusteredInstanceFactoryWrapper | back to summary |
|---|---|
| private void shutdownClusteredInstanceFactoryWrapper(ClusteredInstanceFactoryWrapper clusteredInstanceFactory) | |
| waitForOrchestrator | back to summary |
|---|---|
| public void waitForOrchestrator(String cacheManagerName) Wait for the Orchestrator for this CacheManager
| |
| warn | back to summary |
|---|---|
| private void warn(String msg) | |