Package io.gs2.lock.model
Class Mutex
java.lang.Object
io.gs2.lock.model.Mutex
- All Implemented Interfaces:
IModel,Serializable,Comparable<Mutex>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic MutexfromJson(com.fasterxml.jackson.databind.JsonNode data) inthashCode()voidsetCreatedAt(Long createdAt) voidsetMutexId(String mutexId) voidsetPropertyId(String propertyId) voidsetRevision(Long revision) voidsetTransactionId(String transactionId) voidcom.fasterxml.jackson.databind.JsonNodetoJson()withCreatedAt(Long createdAt) withMutexId(String mutexId) withPropertyId(String propertyId) withRevision(Long revision) withTransactionId(String transactionId) withUserId(String userId)
-
Constructor Details
-
Mutex
public Mutex()
-
-
Method Details
-
getMutexId
-
setMutexId
-
withMutexId
-
getUserId
-
setUserId
-
withUserId
-
getPropertyId
-
setPropertyId
-
withPropertyId
-
getTransactionId
-
setTransactionId
-
withTransactionId
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<Mutex>
-
hashCode
public int hashCode() -
equals
-