Class SessionEntity
- java.lang.Object
- 
- org.keycloak.models.sessions.infinispan.entities.SessionEntity
 
- 
- All Implemented Interfaces:
- Serializable
 - Direct Known Subclasses:
- AuthenticatedClientSessionEntity,- InitializerState,- LoginFailureEntity,- RootAuthenticationSessionEntity,- UserSessionEntity
 
 public abstract class SessionEntity extends Object implements Serializable Represents an entity containing data about a session, i.e. an object that is stored in infinispan cache and can be potentially shared across DCs. Due to conflict management inRemoteCacheInvokerandInfinispanChangelogBasedTransactionthat use Infinispan'sreplace()method, overridinghashCode()andequals(java.lang.Object)is mandatory in descendants.- Author:
- Stian Thorgersen
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description SessionEntity()protectedSessionEntity(String realmId)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleanequals(Object obj)StringgetRealmId()Returns realmId ID.abstract inthashCode()SessionEntityWrappermergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper)voidsetRealmId(String realmId)
 
- 
- 
- 
Constructor Detail- 
SessionEntitypublic SessionEntity() 
 - 
SessionEntityprotected SessionEntity(String realmId) 
 
- 
 - 
Method Detail- 
getRealmIdpublic String getRealmId() Returns realmId ID.- Returns:
 
 - 
setRealmIdpublic void setRealmId(String realmId) 
 - 
mergeRemoteEntityWithLocalEntitypublic SessionEntityWrapper mergeRemoteEntityWithLocalEntity(SessionEntityWrapper localEntityWrapper) 
 
- 
 
-