public abstract class AbstractUuidState extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
clockSequence |
protected long |
nodeIdentifier |
protected long |
timestamp |
| Constructor and Description |
|---|
AbstractUuidState() |
| Modifier and Type | Method and Description |
|---|---|
int |
getClockSequence() |
long |
getNodeIdentifier() |
long |
getTimestamp() |
abstract boolean |
isValid() |
abstract void |
load() |
void |
setClockSequence(int clockSequence) |
void |
setNodeIdentifier(long nodeIdentifier) |
void |
setTimestamp(long timestamp) |
abstract void |
store() |
protected long timestamp
protected int clockSequence
protected long nodeIdentifier
public long getTimestamp()
public void setTimestamp(long timestamp)
public int getClockSequence()
public void setClockSequence(int clockSequence)
public long getNodeIdentifier()
public void setNodeIdentifier(long nodeIdentifier)
public abstract void store()
public abstract void load()
public abstract boolean isValid()
Copyright © 2019. All rights reserved.