Package org.keycloak.singleobject.jpa
Class SingleUseObjectEntity
java.lang.Object
org.keycloak.singleobject.jpa.SingleUseObjectEntity
- All Implemented Interfaces:
AsynchronousCommitAllowed
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.connections.jpa.AsynchronousCommitAllowed
AsynchronousCommitAllowed.EntityOperationType -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SingleUseObjectEntity
public SingleUseObjectEntity()
-
-
Method Details
-
isAsyncCommitAllowed
Description copied from interface:AsynchronousCommitAllowedWhether this entity allows asynchronous commit for the given operation type.Returning
falsefor any operation that occurs during a transaction will force synchronous commit for the entire transaction.- Specified by:
isAsyncCommitAllowedin interfaceAsynchronousCommitAllowed- Parameters:
operationType- the type of database operation being performed- Returns:
trueif the operation can tolerate asynchronous commit
-
getId
-
setId
-
getNotes
-
setNotes
-
getExpire
public long getExpire() -
setExpire
public void setExpire(long expire) -
equals
-
hashCode
public int hashCode() -
toString
-