Class AuthorityGroupManager.AuthorityGroupDescription
- java.lang.Object
-
- org.apache.manifoldcf.core.cachemanager.BaseDescription
-
- org.apache.manifoldcf.authorities.authgroups.AuthorityGroupManager.AuthorityGroupDescription
-
- All Implemented Interfaces:
ICacheDescription
- Enclosing class:
- AuthorityGroupManager
protected static class AuthorityGroupManager.AuthorityGroupDescription extends BaseDescription
This is the object description for an authority group object.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.manifoldcf.core.cachemanager.BaseDescription
BaseDescription.LocalCacheClass
-
-
Field Summary
Fields Modifier and Type Field Description protected StringSetcacheKeysprotected java.lang.StringcriticalSectionNameprotected java.lang.StringgroupName-
Fields inherited from class org.apache.manifoldcf.core.cachemanager.BaseDescription
_rcsid, cacheClass, MAX_VALUE
-
-
Constructor Summary
Constructors Constructor Description AuthorityGroupDescription(java.lang.String groupName, StringSet invKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetCriticalSectionName()Get the critical section name for this description object.java.lang.StringgetGroupName()StringSetgetObjectKeys()Get the cache keys for an object (which may or may not exist yet in the cache).inthashCode()-
Methods inherited from class org.apache.manifoldcf.core.cachemanager.BaseDescription
getObjectClass, getObjectExpirationTime
-
-
-
-
Field Detail
-
groupName
protected java.lang.String groupName
-
criticalSectionName
protected java.lang.String criticalSectionName
-
cacheKeys
protected StringSet cacheKeys
-
-
Constructor Detail
-
AuthorityGroupDescription
public AuthorityGroupDescription(java.lang.String groupName, StringSet invKeys)
-
-
Method Detail
-
getGroupName
public java.lang.String getGroupName()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
getCriticalSectionName
public java.lang.String getCriticalSectionName()
Description copied from interface:ICacheDescriptionGet the critical section name for this description object. This is used to synchronize creation of the described object, and thus is used only for objects that will be cached. This method does not need to return decent results for objects that are never cached.- Returns:
- the critical section name.
-
getObjectKeys
public StringSet getObjectKeys()
Get the cache keys for an object (which may or may not exist yet in the cache). This method is called in order for cache manager to throw the correct locks.- Returns:
- the object's cache keys, or null if the object should not be cached.
-
-