com.neeve.sto
Interface IStoBufferManager

All Known Implementing Classes:
OdsTool.StoreObjectPacket, PktBodyAepFlow, PktBodyAepInboundSnoTable, PktBodyAepInboundSnoTableEntry, PktBodyStoContainer, StoBufferManager

public interface IStoBufferManager

Represents an STO buffer manager.

An STO buffer manager is responsible for allocating buffers for use as backing buffers for STO containers and fields. An instance of a buffer manager is supplied to an STO container. The container requests the buffer manager for buffers as and when it needs to allocate buffers that back the container.

Threading:
A buffer manager is not safe for concurrent access by multiple threads.

Method Summary
 ByteBuffer allocate(int len)
          Allocates a new buffer.
 

Method Detail

allocate

ByteBuffer allocate(int len)
Allocates a new buffer.

Parameters:
len - The length of the buffer to allocate.
Threading:
This method is not safe for concurrent access by multiple threads.

This method is invoked by an STO container when it needs a new buffer to back the contents of the container.



Copyright © 2015 Neeve Research, LLC. All Rights Reserved.