Class MetaStorage.TmpStorage
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.persistence.metastorage.MetaStorage.TmpStorage
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- MetaStorage
public static class MetaStorage.TmpStorage extends Object implements Closeable
Temporary storage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(String key, byte[] val)Put datavoidclose()Stream<IgniteBiTuple<String,byte[]>>stream()Read data from storage
-
-
-
Method Detail
-
add
public void add(String key, byte[] val) throws IgniteCheckedException
Put data- Parameters:
key- Key.val- Value.- Throws:
IgniteCheckedException
-
stream
public Stream<IgniteBiTuple<String,byte[]>> stream()
Read data from storage
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-