@PublicApi public interface KeyValueStoreWriter extends Closeable, Cancelable
Modifier and Type | Method and Description |
---|---|
void |
put(byte[] key,
byte[] value)
Adds a key and its associated value to this store.
|
void |
put(ByteBuffer key,
ByteBuffer value)
Adds a key and its associated value to this store.
|
cancel
void put(byte[] key, byte[] value) throws IOException, AlluxioException
key
- key to put, cannot be nullvalue
- value to put, cannot be nullIOException
AlluxioException
void put(ByteBuffer key, ByteBuffer value) throws IOException, AlluxioException
key
- key to put, cannot be nullvalue
- value to put, cannot be nullIOException
AlluxioException
Copyright © 2023. All Rights Reserved.