Package | Description |
---|---|
org.apache.ignite.spi.swapspace |
Contains APIs for swap space SPI.
|
org.apache.ignite.spi.swapspace.file |
Contains file-based swap space SPI.
|
org.apache.ignite.spi.swapspace.noop |
Contains default no-op swap space SPI implementation.
|
Modifier and Type | Method and Description |
---|---|
<K> IgniteSpiCloseableIterator<K> |
SwapSpaceSpi.keyIterator(String spaceName,
SwapContext ctx)
Gets iterator over space keys.
|
byte[] |
SwapSpaceSpi.read(String spaceName,
SwapKey key,
SwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
Map<SwapKey,byte[]> |
SwapSpaceSpi.readAll(String spaceName,
Iterable<SwapKey> keys,
SwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
SwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
SwapSpaceSpi.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
SwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
SwapSpaceSpi.store(String spaceName,
SwapKey key,
byte[] val,
SwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
SwapSpaceSpi.storeAll(String spaceName,
Map<SwapKey,byte[]> pairs,
SwapContext 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 |
---|---|
<K> IgniteSpiCloseableIterator<K> |
FileSwapSpaceSpi.keyIterator(String spaceName,
SwapContext ctx)
Gets iterator over space keys.
|
byte[] |
FileSwapSpaceSpi.read(String spaceName,
SwapKey key,
SwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
Map<SwapKey,byte[]> |
FileSwapSpaceSpi.readAll(String spaceName,
Iterable<SwapKey> keys,
SwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
FileSwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
FileSwapSpaceSpi.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
SwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
FileSwapSpaceSpi.store(String spaceName,
SwapKey key,
byte[] val,
SwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
FileSwapSpaceSpi.storeAll(String spaceName,
Map<SwapKey,byte[]> pairs,
SwapContext 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 |
---|---|
<K> IgniteSpiCloseableIterator<K> |
NoopSwapSpaceSpi.keyIterator(String spaceName,
SwapContext ctx)
Gets iterator over space keys.
|
byte[] |
NoopSwapSpaceSpi.read(String spaceName,
SwapKey key,
SwapContext ctx)
Reads stored value as array of bytes by key from data space with given name.
|
Map<SwapKey,byte[]> |
NoopSwapSpaceSpi.readAll(String spaceName,
Iterable<SwapKey> keys,
SwapContext ctx)
Reads stored values as array of bytes by all passed keys from data space with
given name.
|
void |
NoopSwapSpaceSpi.remove(String spaceName,
SwapKey key,
IgniteInClosure<byte[]> c,
SwapContext ctx)
Removes value stored in data space with given name corresponding to specified key.
|
void |
NoopSwapSpaceSpi.removeAll(String spaceName,
Collection<SwapKey> keys,
IgniteBiInClosure<SwapKey,byte[]> c,
SwapContext ctx)
Removes values stored in data space with given name corresponding to specified keys.
|
void |
NoopSwapSpaceSpi.store(String spaceName,
SwapKey key,
byte[] val,
SwapContext ctx)
Stores value as array of bytes with given key into data space with given name.
|
void |
NoopSwapSpaceSpi.storeAll(String spaceName,
Map<SwapKey,byte[]> pairs,
SwapContext ctx)
Stores key-value pairs (both keys and values are arrays of bytes) into data
space with given name.
|
Follow @ApacheIgnite
Apache Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 16 2015