Interface MapClientInitialAccessEntity
- All Superinterfaces:
AbstractEntity
,ExpirableEntity
,UpdatableEntity
- All Known Implementing Classes:
HotRodClientInitialAccessEntityDelegate
,MapClientInitialAccessEntityDelegate
,MapClientInitialAccessEntityFieldDelegate
,MapClientInitialAccessEntityImpl
,MapClientInitialAccessEntityImpl.Empty
public interface MapClientInitialAccessEntity
extends UpdatableEntity, AbstractEntity, ExpirableEntity
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.models.map.common.UpdatableEntity
UpdatableEntity.Impl
-
Method Summary
Modifier and TypeMethodDescriptionstatic MapClientInitialAccessEntity
createEntity
(int expiration, int count) getCount()
Returns a point in time (timestamp in milliseconds since The Epoch) when the client initial access entity was created.void
void
setRemainingCount
(Integer remainingCount) void
setTimestamp
(Long timestamp) Sets a point in the (timestamp in milliseconds since The Epoch) when the client initial access entity was created.static ClientInitialAccessModel
toModel
(MapClientInitialAccessEntity entity) Methods inherited from interface org.keycloak.models.map.common.AbstractEntity
getId, setId
Methods inherited from interface org.keycloak.models.map.common.ExpirableEntity
getExpiration, setExpiration
Methods inherited from interface org.keycloak.models.map.common.UpdatableEntity
clearUpdatedFlag, isUpdated, markUpdatedFlag
-
Method Details
-
createEntity
-
toModel
-
getTimestamp
Long getTimestamp()Returns a point in time (timestamp in milliseconds since The Epoch) when the client initial access entity was created.- Returns:
- a timestamp in milliseconds since The Epoch or
null
when the time is unknown
-
setTimestamp
Sets a point in the (timestamp in milliseconds since The Epoch) when the client initial access entity was created.- Parameters:
timestamp
- a timestamp in milliseconds since The Epoch ornull
when the time is unknown
-
getCount
Integer getCount() -
setCount
-
getRemainingCount
Integer getRemainingCount() -
setRemainingCount
-