org.infinispan.schematic.document
Class ObjectId
java.lang.Object
org.infinispan.schematic.document.ObjectId
@Immutable
@SerializeWith(value=ObjectId.Externalizer.class)
public final class ObjectId
- extends Object
A ObjectId
value for use within a BSON object
, and are 12-byte binary values
designed to have a reasonably high probability of being unique when allocated.
- Since:
- 5.1
Constructor Summary |
ObjectId(int time,
int machine,
int process,
int inc)
|
ObjectId
public ObjectId(int time,
int machine,
int process,
int inc)
getTime
public int getTime()
getMachine
public int getMachine()
getProcess
public int getProcess()
getInc
public int getInc()
getBytes
public byte[] getBytes()
getBytesInBase64
public String getBytesInBase64()
getBytesInBase16
public String getBytesInBase16()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.