public class BufferPoolImpl extends Object implements BufferPool
| Modifier and Type | Field and Description | 
|---|---|
| protected SerializationService | serializationService | 
| Constructor and Description | 
|---|
| BufferPoolImpl(SerializationService serializationService) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | returnInputBuffer(BufferObjectDataInput in)Returns a BufferObjectDataInput back to the pool. | 
| void | returnOutputBuffer(BufferObjectDataOutput out)Returns a BufferObjectDataOutput back to the pool. | 
| BufferObjectDataInput | takeInputBuffer(Data data)Takes an BufferObjectDataInput from the pool and initializes it with the given data. | 
| BufferObjectDataOutput | takeOutputBuffer()Takes an BufferObjectDataOutput from the pool. | 
protected final SerializationService serializationService
public BufferPoolImpl(SerializationService serializationService)
public BufferObjectDataOutput takeOutputBuffer()
BufferPooltakeOutputBuffer in interface BufferPoolpublic void returnOutputBuffer(BufferObjectDataOutput out)
BufferPoolreturnOutputBuffer in interface BufferPoolout - the BufferObjectDataOutput.public BufferObjectDataInput takeInputBuffer(Data data)
BufferPooltakeInputBuffer in interface BufferPoolpublic void returnInputBuffer(BufferObjectDataInput in)
BufferPoolreturnInputBuffer in interface BufferPoolin - the BufferObjectDataInput.Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.