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
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static MapClientInitialAccessEntity
createEntity(int expiration, int count)
Integer
getCount()
Integer
getRemainingCount()
Long
getTimestamp()
Returns a point in time (timestamp in milliseconds since The Epoch) when the client initial access entity was created.void
setCount(Integer count)
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
-
-
-
-
Method Detail
-
createEntity
static MapClientInitialAccessEntity createEntity(int expiration, int count)
-
toModel
static ClientInitialAccessModel toModel(MapClientInitialAccessEntity entity)
-
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
void setTimestamp(Long timestamp)
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
void setCount(Integer count)
-
getRemainingCount
Integer getRemainingCount()
-
setRemainingCount
void setRemainingCount(Integer remainingCount)
-
-