| Package | Description |
|---|---|
| org.apache.ignite.internal.processors.offheap | |
| org.apache.ignite.internal.util.offheap | |
| org.apache.ignite.internal.util.offheap.unsafe |
| Modifier and Type | Method and Description |
|---|---|
void |
GridOffHeapProcessor.create(@Nullable String spaceName,
int parts,
long init,
long max,
@Nullable GridOffHeapEvictListener lsnr)
Creates offheap map for given space name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridOffHeapMap.evictListener(GridOffHeapEvictListener lsnr)
Sets callback for when entries are evicted due to memory constraints.
|
boolean |
GridOffHeapPartitionedMap.evictListener(GridOffHeapEvictListener lsnr)
Sets callback for when entries are evicted due to memory constraints.
|
static <K> GridOffHeapMap |
GridOffHeapMapFactory.unsafeMap(int concurrency,
float load,
long initCap,
long totalMem,
short lruStripes,
@Nullable GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static GridOffHeapMap |
GridOffHeapMapFactory.unsafeMap(int concurrency,
long initCap,
long totalMem,
short lruStripes,
@Nullable GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static GridOffHeapMap |
GridOffHeapMapFactory.unsafeMap(long initCap,
long totalMem,
short lruStripes,
@Nullable GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static GridOffHeapPartitionedMap |
GridOffHeapMapFactory.unsafePartitionedMap(int parts,
int concurrency,
float load,
long initCap,
long totalMem,
short lruStripes,
@Nullable GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static GridOffHeapPartitionedMap |
GridOffHeapMapFactory.unsafePartitionedMap(int parts,
int concurrency,
long initCap,
long totalMem,
short lruStripes,
@Nullable GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
static GridOffHeapPartitionedMap |
GridOffHeapMapFactory.unsafePartitionedMap(int parts,
long initCap,
long totalMem,
short lruStripes,
@Nullable GridOffHeapEvictListener lsnr)
Creates off-heap map based on
Unsafe implementation with limited
memory and LRU-based eviction. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridUnsafeMap.evictListener(GridOffHeapEvictListener evictLsnr)
Sets callback for when entries are evicted due to memory constraints.
|
boolean |
GridUnsafePartitionedMap.evictListener(GridOffHeapEvictListener evictLsnr)
Sets callback for when entries are evicted due to memory constraints.
|
| Constructor and Description |
|---|
GridUnsafeMap(int concurrency,
float load,
long initCap,
long totalMem,
short lruStripes,
@Nullable GridOffHeapEvictListener evictLsnr) |
GridUnsafePartitionedMap(int parts,
int concurrency,
float load,
long initCap,
long totalMem,
short lruStripes,
@Nullable GridOffHeapEvictListener evictLsnr) |
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021