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

Packages that use SwapKey
Package | Description
--- | ---
org.apache.ignite.internal.managers.swapspace | TODO.
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 SwapKey in org.apache.ignite.internal.managers.swapspace

Methods in org.apache.ignite.internal.managers.swapspace with parameters of type SwapKey
Modifier and Type | Method and Description
--- | ---
`byte[]` | GridSwapSpaceManager.`read(String spaceName, SwapKey key, ClassLoader ldr)` Reads value from swap.
`<T> T` | GridSwapSpaceManager.`readValue(String spaceName, SwapKey key, ClassLoader ldr)` Reads value from swap.
`void` | GridSwapSpaceManager.`remove(String spaceName, SwapKey key, IgniteInClosure<byte[]> c, ClassLoader ldr)` Removes value from swap.
`void` | GridSwapSpaceManager.`write(String spaceName, SwapKey key, byte[] val, ClassLoader ldr)` Writes value to swap.

Method parameters in org.apache.ignite.internal.managers.swapspace with type arguments of type SwapKey
Modifier and Type | Method and Description
--- | ---
`void` | GridSwapSpaceManager.`removeAll(String spaceName, Collection<SwapKey> keys, IgniteBiInClosure<SwapKey,byte[]> c, ClassLoader ldr)` Removes value from swap.
`void` | GridSwapSpaceManager.`removeAll(String spaceName, Collection<SwapKey> keys, IgniteBiInClosure<SwapKey,byte[]> c, ClassLoader ldr)` Removes value from swap.
`<K,V> void` | GridSwapSpaceManager.`writeAll(String spaceName, Map<SwapKey,byte[]> batch, ClassLoader ldr)` Writes batch to swap.

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

Methods in org.apache.ignite.spi.swapspace that return types with arguments of type SwapKey
Modifier and Type | Method and Description
--- | ---
`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.

Methods in org.apache.ignite.spi.swapspace with parameters of type SwapKey
Modifier and Type | Method and Description
--- | ---
`byte[]` | SwapSpaceSpi.`read(String spaceName, SwapKey key, SwapContext ctx)` Reads stored value as array of bytes by key 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.`store(String spaceName, SwapKey key, byte[] val, SwapContext ctx)` Stores value as array of bytes with given key into data space with given name.

Method parameters in org.apache.ignite.spi.swapspace with type arguments of type SwapKey
Modifier and Type | Method and Description
--- | ---
`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.`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.`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.`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 SwapKey in org.apache.ignite.spi.swapspace.file

Methods in org.apache.ignite.spi.swapspace.file that return types with arguments of type SwapKey
Modifier and Type | Method and Description
--- | ---
`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.

Methods in org.apache.ignite.spi.swapspace.file with parameters of type SwapKey
Modifier and Type | Method and Description
--- | ---
`byte[]` | FileSwapSpaceSpi.`read(String spaceName, SwapKey key, SwapContext ctx)` Reads stored value as array of bytes by key 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.`store(String spaceName, SwapKey key, byte[] val, SwapContext ctx)` Stores value as array of bytes with given key into data space with given name.

Method parameters in org.apache.ignite.spi.swapspace.file with type arguments of type SwapKey
Modifier and Type | Method and Description
--- | ---
`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.`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.`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.`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 SwapKey in org.apache.ignite.spi.swapspace.noop

Methods in org.apache.ignite.spi.swapspace.noop that return types with arguments of type SwapKey
Modifier and Type | Method and Description
--- | ---
`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.

Methods in org.apache.ignite.spi.swapspace.noop with parameters of type SwapKey
Modifier and Type | Method and Description
--- | ---
`byte[]` | NoopSwapSpaceSpi.`read(String spaceName, SwapKey key, SwapContext ctx)` Reads stored value as array of bytes by key 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.`store(String spaceName, SwapKey key, byte[] val, SwapContext ctx)` Stores value as array of bytes with given key into data space with given name.

Method parameters in org.apache.ignite.spi.swapspace.noop with type arguments of type SwapKey
Modifier and Type | Method and Description
--- | ---
`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.`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.`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.`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.5.0-b1
Release Date | : December 1 2015