public interface KeyStateMarker
KeyStateMarker.STATE
to a key.
That KeyStateMarker.STATE
is used when deciding whether or not a key can be puttable to a Near Cache.
Because there is a possibility that an invalidation for a key can be received before putting that
key into Near Cache, in that case, key should not be put into Near Cache.Modifier and Type | Interface and Description |
---|---|
static class |
KeyStateMarker.STATE |
Modifier and Type | Field and Description |
---|---|
static KeyStateMarker |
TRUE_MARKER
Always returns true for all calls.
|
Modifier and Type | Method and Description |
---|---|
void |
forceUnmark(Object key) |
void |
init() |
boolean |
tryMark(Object key) |
boolean |
tryRemove(Object key) |
boolean |
tryUnmark(Object key) |
static final KeyStateMarker TRUE_MARKER
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.