Class TerracottaClient


  • public class TerracottaClient
    extends java.lang.Object
    Class encapsulating the idea of a Terracotta client. Provides access to the ClusteredInstanceFactory for the cluster
    Author:
    Abhishek Sanoujam
    • Field Detail

      • CUSTOM_SECRET_PROVIDER_SYSTEM_PROPERTY

        public static final java.lang.String CUSTOM_SECRET_PROVIDER_SYSTEM_PROPERTY
        System property used to specify the secrect provider to use
        See Also:
        Constant Field Values
    • Method Detail

      • createClusteredInstanceFactory

        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.
        Returns:
        true if the clusteredInstanceFactory was created, otherwise returns false
      • shutdown

        public void shutdown()
        Shuts down the client
      • waitForOrchestrator

        public void waitForOrchestrator​(java.lang.String cacheManagerName)
        Wait for the Orchestrator for this CacheManager
        Parameters:
        cacheManagerName - Name of the cache manager