public interface StorageManager
setStorageManager()method of the
Coder. The implementation must assume that the object may be accessed from concurrent threads and must be thread safe.
|Modifier and Type||Field and Description|
Identifies the storage, optimized for storing an array of bytes.
Identifies the storage, optimized for storing an array of characters.
Identifies the storage, optimized for storing an array of Objects.
static final int STORAGE_BYTES
static final int STORAGE_CHARS
static final int STORAGE_OBJECTS
Storage allocate(int kind) throws StorageException
kind- specifies the kind of storage to allocate (either
StorageException- if the storage manager failed to allocate the external storage of the specified kind.
void close() throws StorageException
StorageException- if any error occurs when terminating the storage manager.
Copyright © 2020 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.