Class AbstractRevisioned
- java.lang.Object
-
- org.keycloak.models.cache.infinispan.entities.AbstractRevisioned
-
- All Implemented Interfaces:
Serializable,CachedObject,Revisioned
- Direct Known Subclasses:
AbstractExtendableRevisioned,CachedClient,CachedClientScope,CachedFederatedIdentityLinks,CachedGroup,CachedPermissionTicket,CachedPolicy,CachedResource,CachedResourceServer,CachedRole,CachedScope,CachedUserConsents,ClientListQuery,ClientScopeListQuery,GroupListQuery,PermissionTicketListQuery,PolicyListQuery,RealmListQuery,ResourceListQuery,ResourceServerListQuery,RoleListQuery,ScopeListQuery,UserListQuery
public class AbstractRevisioned extends Object implements Revisioned, Serializable, CachedObject
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractRevisioned(Long revision, String id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCacheTimestamp()When was this cachedStringgetId()LonggetRevision()voidsetRevision(Long revision)
-
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceRevisioned
-
getRevision
public Long getRevision()
- Specified by:
getRevisionin interfaceRevisioned
-
setRevision
public void setRevision(Long revision)
- Specified by:
setRevisionin interfaceRevisioned
-
getCacheTimestamp
public long getCacheTimestamp()
When was this cached- Specified by:
getCacheTimestampin interfaceCachedObject- Returns:
-
-