public interface RamStoreRegistry
| Modifier and Type | Method and Description |
|---|---|
int |
prefixToThreadId(long prefix)
Returns the ID of the partition thread responsible for the given key prefix.
|
RamStore |
ramStoreForPrefix(long prefix)
Returns the RAM store in charge of the supplied key prefix.
|
RamStore |
restartingRamStoreForPrefix(long prefix)
Returns the RAM store in charge of the supplied key prefix.
|
RamStore ramStoreForPrefix(long prefix)
This method is allowed to return null, in which case the GC
process will assume that the RAM store in question has been destroyed,
but the associated event has not yet reached the GC thread. The GC
thread will in that case enter a loop which waits for the said event.
If the event never arrives, the loop will be infinite.
RamStore restartingRamStoreForPrefix(long prefix)
This method is allowed to return null, in which case the
restarting procedure will assume that the RAM store in question had been
destroyed before shutdown.
int prefixToThreadId(long prefix)
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.