public class MapCacheRecord extends CacheRecord
| Modifier and Type | Field and Description |
|---|---|
private ByteBuffer |
key |
private long |
revision
Revision is a number that increases every time the key is updated.
|
private ByteBuffer |
value |
| Constructor and Description |
|---|
MapCacheRecord(ByteBuffer key,
ByteBuffer value) |
MapCacheRecord(ByteBuffer key,
ByteBuffer value,
long revision) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ByteBuffer |
getKey() |
long |
getRevision() |
ByteBuffer |
getValue() |
int |
hashCode() |
getEntryDate, getHitCount, getId, getLastHitDate, hitprivate final ByteBuffer key
private final ByteBuffer value
private final long revision
public MapCacheRecord(ByteBuffer key, ByteBuffer value)
public MapCacheRecord(ByteBuffer key, ByteBuffer value, long revision)
public ByteBuffer getKey()
public ByteBuffer getValue()
public long getRevision()
Copyright © 2021 Apache NiFi Project. All rights reserved.