public class BufferPoolImpl extends Object implements BufferPool
| Modifier and Type | Field and Description | 
|---|---|
protected InternalSerializationService | 
serializationService  | 
| Constructor and Description | 
|---|
BufferPoolImpl(InternalSerializationService 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 InternalSerializationService serializationService
public BufferPoolImpl(InternalSerializationService 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 © 2020 Hazelcast, Inc.. All Rights Reserved.