| Package | Description |
|---|---|
| org.gridgain.grid.kernal.managers.swapspace |
TODO.
|
| org.gridgain.grid.spi |
Contains common classes and interfaces for SPI implementations.
|
| org.gridgain.grid.spi.swapspace |
Contains APIs for swap space SPI.
|
| org.gridgain.grid.spi.swapspace.file |
Contains file-based swap space SPI.
|
| org.gridgain.grid.spi.swapspace.noop |
Contains default no-op swap space SPI implementation.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridSwapSpaceManager.read(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads value from swap.
|
<T> T |
GridSwapSpaceManager.readValue(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads value from swap.
|
void |
GridSwapSpaceManager.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.write(String spaceName,
GridSwapKey key,
byte[] val,
ClassLoader ldr)
Writes value to swap.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridSwapSpaceManager.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
void |
GridSwapSpaceManager.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
ClassLoader ldr)
Removes value from swap.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
GridSpiContext.readFromSwap(String spaceName,
GridSwapKey key,
ClassLoader ldr)
Reads object from swap.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GridSwapKey,byte[]> |
GridSwapSpaceSpi.readAll(String spaceName,
Iterable<GridSwapKey> keys,
GridSwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridSwapSpaceSpi.read(String spaceName,
GridSwapKey key,
GridSwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
void |
GridSwapSpaceSpi.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
GridSwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
GridSwapSpaceSpi.store(String spaceName,
GridSwapKey key,
byte[] val,
GridSwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GridSwapKey,byte[]> |
GridSwapSpaceSpi.readAll(String spaceName,
Iterable<GridSwapKey> keys,
GridSwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
GridSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridSwapSpaceSpi.storeAll(String spaceName,
Map<GridSwapKey,byte[]> pairs,
GridSwapContext ctx)
Stores key-value pairs (both keys and values are arrays of bytes) into data
space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GridSwapKey,byte[]> |
GridFileSwapSpaceSpi.readAll(String spaceName,
Iterable<GridSwapKey> keys,
GridSwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridFileSwapSpaceSpi.read(String spaceName,
GridSwapKey key,
GridSwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
void |
GridFileSwapSpaceSpi.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
GridSwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
GridFileSwapSpaceSpi.store(String spaceName,
GridSwapKey key,
byte[] val,
GridSwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GridSwapKey,byte[]> |
GridFileSwapSpaceSpi.readAll(String spaceName,
Iterable<GridSwapKey> keys,
GridSwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
GridFileSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridFileSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridFileSwapSpaceSpi.storeAll(String spaceName,
Map<GridSwapKey,byte[]> pairs,
GridSwapContext ctx)
Stores key-value pairs (both keys and values are arrays of bytes) into data
space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GridSwapKey,byte[]> |
GridNoopSwapSpaceSpi.readAll(String spaceName,
Iterable<GridSwapKey> keys,
GridSwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
GridNoopSwapSpaceSpi.read(String spaceName,
GridSwapKey key,
GridSwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
void |
GridNoopSwapSpaceSpi.remove(String spaceName,
GridSwapKey key,
GridInClosure<byte[]> c,
GridSwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
GridNoopSwapSpaceSpi.store(String spaceName,
GridSwapKey key,
byte[] val,
GridSwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
| Modifier and Type | Method and Description |
|---|---|
Map<GridSwapKey,byte[]> |
GridNoopSwapSpaceSpi.readAll(String spaceName,
Iterable<GridSwapKey> keys,
GridSwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
GridNoopSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridNoopSwapSpaceSpi.removeAll(String spaceName,
Collection<GridSwapKey> keys,
GridBiInClosure<GridSwapKey,byte[]> c,
GridSwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
GridNoopSwapSpaceSpi.storeAll(String spaceName,
Map<GridSwapKey,byte[]> pairs,
GridSwapContext ctx)
Stores key-value pairs (both keys and values are arrays of bytes) into data
space with given name.
|
Copyright © 2014. All rights reserved.