org.apache.catalina.tribes.io

Interface BufferPool.BufferPoolAPI

public static interface BufferPool.BufferPoolAPI

Method Summary
voidclear()
XByteBuffergetBuffer(int minSize, boolean discard)
voidreturnBuffer(XByteBuffer buffer)
voidsetMaxSize(int bytes)

Method Detail

clear

public void clear()

getBuffer

public XByteBuffer getBuffer(int minSize, boolean discard)

returnBuffer

public void returnBuffer(XByteBuffer buffer)

setMaxSize

public void setMaxSize(int bytes)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.