public interface KeyStateMarker
KeyStateMarker.STATE
to a key.
That KeyStateMarker.STATE
is used when deciding whether or not a key can be put-able to 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 |
---|---|
boolean |
markIfUnmarked(Object key) |
boolean |
removeIfMarked(Object key) |
void |
unmarkAllForcibly() |
void |
unmarkForcibly(Object key) |
boolean |
unmarkIfMarked(Object key) |
static final KeyStateMarker TRUE_MARKER
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.