/** * Returns the timestamp component of the id. * * @return the timestamp */ private int getTimeStamp() { return makeInt(bytes[0], bytes[1], bytes[2], bytes[3]); }
/** * Returns the machine identifier component of the id. * * @return the machine identifier */ private int getMachineIdentifier() { return makeInt((byte) 0, bytes[4], bytes[5], bytes[6]); }
/** * Returns the process identifier component of the id. * * @return the process identifier */ private short getProcessIdentifier() { return (short) makeInt((byte) 0, (byte) 0, bytes[7], bytes[8]); }
/** * Returns the counter component of the id. * * @return the counter */ private int getCounter() { return makeInt((byte) 0, bytes[9], bytes[10], bytes[11]); }