Package org.keycloak.models.map.lock
Interface MapLockEntity
-
- All Superinterfaces:
AbstractEntity
,UpdatableEntity
- All Known Implementing Classes:
JpaLockEntity
,JpaLockMetadata
,MapLockEntity.AbstractLockEntity
,MapLockEntityDelegate
,MapLockEntityFieldDelegate
,MapLockEntityImpl
,MapLockEntityImpl.Empty
public interface MapLockEntity extends UpdatableEntity, AbstractEntity
Entity to hold locks needed for theMapGlobalLockProvider
.- Author:
- Alexander Schwartz
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MapLockEntity.AbstractLockEntity
static class
MapLockEntity.SearchableFields
-
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description String
getKeycloakInstanceIdentifier()
String
getName()
Long
getTimeAcquired()
default boolean
isLockUnchanged(MapLockEntity otherMapLock)
void
setKeycloakInstanceIdentifier(String keycloakInstanceIdentifier)
void
setName(String name)
void
setTimeAcquired(Long timeAcquired)
-
Methods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setId
-
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated
-
-
-
-
Method Detail
-
getName
String getName()
-
setName
void setName(String name)
-
getKeycloakInstanceIdentifier
String getKeycloakInstanceIdentifier()
-
setKeycloakInstanceIdentifier
void setKeycloakInstanceIdentifier(String keycloakInstanceIdentifier)
-
getTimeAcquired
Long getTimeAcquired()
-
setTimeAcquired
void setTimeAcquired(Long timeAcquired)
-
isLockUnchanged
default boolean isLockUnchanged(MapLockEntity otherMapLock)
-
-