| Constructor and Description |
|---|
GlobalID()
Initializes a new instance of the
GlobalID class. |
GlobalID(long gid)
Initializes a new instance of the
GlobalID class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines whether the specified
Object is equal to this instance. |
long |
getBoxID()
Gets the box ID of the server that generated this GID.
|
long |
getProcessID()
Gets the process ID of the server that generated this GID.
|
long |
getSequentialCount()
Gets the sequential count for this GID.
|
java.util.Date |
getStartTime()
Gets the start time of the server that generated this GID.
|
long |
getValue()
Sets the entire 64bit value of this GID.
|
int |
hashCode()
Returns a hash code for this instance.
|
void |
setBoxID(long value)
Sets the box ID of the server that generated this GID.
|
void |
setProcessID(long value)
Sets the process ID of the server that generated this GID.
|
void |
setSequentialCount(long value)
Sets the sequential count for this GID.
|
void |
setStartTime(java.util.Date startTime)
Sets the start time of the server that generated this GID.
|
void |
setValue(long value)
Sets the entire 64bit value of this GID.
|
java.lang.String |
toString()
Returns a
String that represents this instance. |
public GlobalID()
GlobalID class.public GlobalID(long gid)
GlobalID class.gid - The GID value.public void setSequentialCount(long value)
value - The sequential count.public long getSequentialCount()
public void setStartTime(java.util.Date startTime)
startTime - The start time.public java.util.Date getStartTime()
public void setProcessID(long value)
value - The process ID.public long getProcessID()
public void setBoxID(long value)
value - The box ID.public long getBoxID()
public void setValue(long value)
value - The value.public long getValue()
public boolean equals(java.lang.Object obj)
Object is equal to this instance.equals in class java.lang.Objectobj - The Object to compare with this instance.Object is equal to this instance; otherwise, false.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
String that represents this instance.toString in class java.lang.ObjectString that represents this instance.