Class Caches


  • public final class Caches
    extends Object
    Utility class for easy access to the various caches used by the Executor service.
    Since:
    22.06
    Author:
    rl 2022.5.25
    • Method Detail

      • tasks

        public static com.tangosol.net.NamedCache tasks​(com.tangosol.net.CacheService service)
        Obtains the cache used to store ClusteredTaskManager instances.
        Parameters:
        service - the CacheService to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredTaskManager instances
        Throws:
        NullPointerException - if service is null
      • assignments

        public static com.tangosol.net.NamedCache assignments​(com.tangosol.net.CacheService service)
        Obtains the cache used to store ClusteredAssignment instances.
        Parameters:
        service - the CacheService to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredAssignment instances
        Throws:
        NullPointerException - if service is null
      • executors

        public static com.tangosol.net.NamedCache executors​(com.tangosol.net.CacheService service)
        Obtains the cache used to store ClusteredExecutorInfo instances.
        Parameters:
        service - the CacheService to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredExecutorInfo instances
        Throws:
        NullPointerException - if service is null
      • properties

        public static com.tangosol.net.NamedCache properties​(com.tangosol.net.CacheService service)
        Obtains the cache used to store ClusteredProperties instances.
        Parameters:
        service - the CacheService to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredProperties instances
        Throws:
        NullPointerException - if service is null
      • tasks

        public static com.tangosol.net.NamedCache tasks​(com.tangosol.net.Session session)
        Obtains the cache used to store ClusteredTaskManager instances.
        Parameters:
        session - the Session to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredTaskManager instances
        Throws:
        NullPointerException - if session is null
      • assignments

        public static com.tangosol.net.NamedCache assignments​(com.tangosol.net.Session session)
        Obtains the cache used to store ClusteredAssignment instances.
        Parameters:
        session - the Session to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredAssignment instances
        Throws:
        NullPointerException - if session is null
      • executors

        public static com.tangosol.net.NamedCache executors​(com.tangosol.net.Session session)
        Obtains the cache used to store ClusteredExecutorInfo instances.
        Parameters:
        session - the Session to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredExecutorInfo instances
        Throws:
        NullPointerException - if session is null
      • properties

        public static com.tangosol.net.NamedCache properties​(com.tangosol.net.Session session)
        Obtains the cache used to store ClusteredProperties instances.
        Parameters:
        session - the Session to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredProperties instances
        Throws:
        NullPointerException - if session is null
      • tasks

        public static com.tangosol.net.NamedCache tasks​(com.tangosol.net.ConfigurableCacheFactory factory)
        Obtains the cache used to store ClusteredTaskManager instances.
        Parameters:
        factory - the ConfigurableCacheFactory to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredTaskManager instances
        Throws:
        NullPointerException - if factory is null
      • assignments

        public static com.tangosol.net.NamedCache assignments​(com.tangosol.net.ConfigurableCacheFactory factory)
        Obtains the cache used to store ClusteredAssignment instances.
        Parameters:
        factory - the ConfigurableCacheFactory to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredAssignment instances
        Throws:
        NullPointerException - if factory is null
      • executors

        public static com.tangosol.net.NamedCache executors​(com.tangosol.net.ConfigurableCacheFactory factory)
        Obtains the cache used to store ClusteredExecutorInfo instances.
        Parameters:
        factory - the ConfigurableCacheFactory to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredAssignment instances
        Throws:
        NullPointerException - if factory is null
      • properties

        public static com.tangosol.net.NamedCache properties​(com.tangosol.net.ConfigurableCacheFactory factory)
        Obtains the cache used to store ClusteredProperties instances.
        Parameters:
        factory - the ConfigurableCacheFactory to use to obtain a cache reference
        Returns:
        the cache used to store ClusteredProperties instances
        Throws:
        NullPointerException - if factory is null