/** * Returns the byte size of this metric * * @return the byte size of this metric */ protected int getByteSize() { if (address[0] == -1L) return -1; return UnsafeAdapter.getInt(address[0] + SIZE); }
/** * Returns the size of the opaque key * * @return the size of the opaque key */ protected int getOpaqueSize() { if (address[0] == -1L) return -1; return UnsafeAdapter.getInt(address[0] + OPAQUE_SIZE); }