Class CacheKeyFactory
- java.lang.Object
-
- org.apache.manifoldcf.core.interfaces.CacheKeyFactory
-
- org.apache.manifoldcf.authorities.interfaces.CacheKeyFactory
-
public class CacheKeyFactory extends CacheKeyFactory
This class just represents a central place where cache keys are assembled. All methods are static.
-
-
Field Summary
-
Fields inherited from class org.apache.manifoldcf.core.interfaces.CacheKeyFactory
_rcsid
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CacheKeyFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
makeAuthorityConnectionKey(java.lang.String connectionName)
Construct a key which represents an individual authority connection.static java.lang.String
makeAuthorityConnectionsKey()
Construct a key which represents the general list of authority connectors.static java.lang.String
makeAuthorityGroupKey(java.lang.String groupName)
Construct a key which represents an individual authority group.static java.lang.String
makeAuthorityGroupsKey()
Construct a key which represents the general list of authority groups.static java.lang.String
makeMappingConnectionKey(java.lang.String connectionName)
Construct a key which represents an individual mapping connection.static java.lang.String
makeMappingConnectionsKey()
Construct a key which represents the general list of mapping connectors.-
Methods inherited from class org.apache.manifoldcf.core.interfaces.CacheKeyFactory
makeDatabaseKey, makeDatabaseKey, makeTableKey
-
-
-
-
Method Detail
-
makeAuthorityGroupsKey
public static java.lang.String makeAuthorityGroupsKey()
Construct a key which represents the general list of authority groups.- Returns:
- the cache key.
-
makeAuthorityGroupKey
public static java.lang.String makeAuthorityGroupKey(java.lang.String groupName)
Construct a key which represents an individual authority group.- Parameters:
groupName
- is the name of the group.- Returns:
- the cache key.
-
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.
-
makeMappingConnectionsKey
public static java.lang.String makeMappingConnectionsKey()
Construct a key which represents the general list of mapping connectors.- Returns:
- the cache key.
-
makeMappingConnectionKey
public static java.lang.String makeMappingConnectionKey(java.lang.String connectionName)
Construct a key which represents an individual mapping connection.- Parameters:
connectionName
- is the name of the connection.- Returns:
- the cache key.
-
-