Class SessionEntityWrapper<S extends SessionEntity>
- java.lang.Object
-
- org.keycloak.models.sessions.infinispan.changes.SessionEntityWrapper<S>
-
@SerializeWith(ExternalizerImpl.class) public class SessionEntityWrapper<S extends SessionEntity> extends Object
- Author:
- Marek Posolda
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionEntityWrapper.ExternalizerImpl
-
Constructor Summary
Constructors Modifier Constructor Description SessionEntityWrapper(Map<String,String> localMetadata, S entity)
protected
SessionEntityWrapper(UUID version, Map<String,String> localMetadata, S entity)
SessionEntityWrapper(S entity)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
SessionEntityWrapper<S>
forTransport()
static <S extends SessionEntity>
SessionEntityWrapper<S>forTransport(S entity)
S
getEntity()
Map<String,String>
getLocalMetadata()
String
getLocalMetadataNote(String key)
Integer
getLocalMetadataNoteInt(String key)
UUID
getVersion()
int
hashCode()
void
putLocalMetadataNote(String key, String value)
void
putLocalMetadataNoteInt(String key, int value)
void
setVersion(UUID version)
String
toString()
-
-
-
Method Detail
-
forTransport
public static <S extends SessionEntity> SessionEntityWrapper<S> forTransport(S entity)
-
forTransport
public SessionEntityWrapper<S> forTransport()
-
getVersion
public UUID getVersion()
-
setVersion
public void setVersion(UUID version)
-
getEntity
public S getEntity()
-
putLocalMetadataNoteInt
public void putLocalMetadataNoteInt(String key, int value)
-
-