Class CacheKeyFactory


  • public class CacheKeyFactory
    extends CacheKeyFactory
    This class just represents a central place where cache keys are assembled. All methods are static.
    • Constructor Detail

      • CacheKeyFactory

        protected CacheKeyFactory()
    • Method Detail

      • makeAuthorityConnectionsKey

        public static java.lang.String makeAuthorityConnectionsKey()
        Construct a key which represents the general list of authority connectors.
        Returns:
        the cache key.
      • makeAuthorityConnectionKey

        public static java.lang.String makeAuthorityConnectionKey​(java.lang.String connectionName)
        Construct a key which represents an individual authority connection.
        Parameters:
        connectionName - is the name of the connection.
        Returns:
        the cache key.
      • makeRepositoryConnectionsKey

        public static java.lang.String makeRepositoryConnectionsKey()
        Construct a key which represents the general list of repository connectors.
        Returns:
        the cache key.
      • makeRepositoryConnectionKey

        public static java.lang.String makeRepositoryConnectionKey​(java.lang.String connectionName)
        Construct a key which represents an individual repository connection.
        Parameters:
        connectionName - is the name of the connector.
        Returns:
        the cache key.
      • makeNotificationConnectionsKey

        public static java.lang.String makeNotificationConnectionsKey()
        Construct a key which represents the general list of notification connectors.
        Returns:
        the cache key.
      • makeNotificationConnectionKey

        public static java.lang.String makeNotificationConnectionKey​(java.lang.String connectionName)
        Construct a key which represents an individual notification connection.
        Parameters:
        connectionName - is the name of the connector.
        Returns:
        the cache key.
      • makeJobsKey

        public static java.lang.String makeJobsKey()
        Construct a key which represents the general list of jobs - for queries that depend on the fixed kind of job data, not the dynamic data (e.g. status)
        Returns:
        the cache key.
      • makeJobIDKey

        public static java.lang.String makeJobIDKey​(java.lang.String jobID)
        Construct a key which represents the fixed kind of data for an individual job.
        Parameters:
        jobID - is the job identifier.
        Returns:
        the cache key.
      • makeJobStatusKey

        public static java.lang.String makeJobStatusKey()
        Construct a key which represents the collective statuses of all jobs.
        Returns:
        the cache key.