## Uses of Class
org.apache.ignite.spi.swapspace.SwapContext

Packages that use SwapContext
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.

### Uses of SwapContext in org.apache.ignite.spi.swapspace

Methods in org.apache.ignite.spi.swapspace with parameters of type SwapContext
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.

### Uses of SwapContext in org.apache.ignite.spi.swapspace.file

Methods in org.apache.ignite.spi.swapspace.file with parameters of type SwapContext
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.

### Uses of SwapContext in org.apache.ignite.spi.swapspace.noop

Methods in org.apache.ignite.spi.swapspace.noop with parameters of type SwapContext
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.

2015 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 1.3.0-incubating
Release Date | : July 10 2015