public class MorphiumId extends Object implements Comparable<MorphiumId>, Serializable
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<Short> |
threadPid |
| Constructor and Description |
|---|
MorphiumId() |
MorphiumId(byte[] bytes) |
MorphiumId(byte[] bytes,
int idx) |
MorphiumId(Date date) |
MorphiumId(org.bson.types.ObjectId id) |
MorphiumId(String hexString) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MorphiumId o) |
boolean |
equals(Object o) |
byte[] |
getBytes() |
int |
getCounter() |
int |
getMachineId() |
short |
getPid() |
long |
getTime() |
int |
hashCode() |
String |
toString() |
public static ThreadLocal<Short> threadPid
public MorphiumId()
public MorphiumId(Date date)
public MorphiumId(String hexString)
public MorphiumId(org.bson.types.ObjectId id)
public MorphiumId(byte[] bytes)
public MorphiumId(byte[] bytes,
int idx)
public byte[] getBytes()
public long getTime()
public short getPid()
public int getCounter()
public int getMachineId()
public int compareTo(MorphiumId o)
compareTo in interface Comparable<MorphiumId>Copyright © 2022. All rights reserved.