C# 클래스 Akka.IO.DirectByteBufferPool

INTERNAL API A buffer pool which keeps a free list of direct buffers of a specified default size in a simple fixed size stack. If the stack is full the buffer is de-referenced and available to be freed by normal garbage collection.
상속: IBufferPool
파일 보기 프로젝트 열기: rogeralsing/akka.net 1 사용 예제들

공개 메소드들

메소드 설명
Acquire ( ) : Akka.IO.ByteBuffer
DirectByteBufferPool ( int defaultBufferSize, int maxPoolEntries )
Release ( Akka.IO.ByteBuffer buf ) : void

비공개 메소드들

메소드 설명
Allocate ( int size ) : Akka.IO.ByteBuffer
OfferBufferToPool ( Akka.IO.ByteBuffer buf ) : void
TakeBufferFromPool ( ) : Akka.IO.ByteBuffer

메소드 상세

Acquire() 공개 메소드

public Acquire ( ) : Akka.IO.ByteBuffer
리턴 Akka.IO.ByteBuffer

DirectByteBufferPool() 공개 메소드

public DirectByteBufferPool ( int defaultBufferSize, int maxPoolEntries )
defaultBufferSize int
maxPoolEntries int

Release() 공개 메소드

public Release ( Akka.IO.ByteBuffer buf ) : void
buf Akka.IO.ByteBuffer
리턴 void