public BytesWritable getCurrentKey() throws IOException { if (lastmessage == null) return null; return new BytesWritable(lastmessage.getKey().getBytes()); }
@Override public String toString() { return String.format("Key: %s, Flags: %d, TTL: %d, Size: %d\nValue: %s", getKey(), getItemFlags(), getTTL(), getValue().length, deserialize()); }
@Override public String toString() { return String.format("Key: %s, Flags: %d, TTL: %d, Size: %d\nValue: %s", getKey(), getItemFlags(), getTTL(), getValue().length, deserialize()); }
@Override public String toString() { return String.format("Key: %s, Flags: %d, TTL: %d, Size: %d\nValue: %s", getKey(), getItemFlags(), getTTL(), getValue().length, deserialize()); }