public class BufferPoolService extends Object implements org.jboss.msc.service.Service<org.xnio.Pool<ByteBuffer>>
| Constructor and Description |
|---|
BufferPoolService(int bufferSize,
int buffersPerSlice,
boolean directBuffers) |
| Modifier and Type | Method and Description |
|---|---|
org.xnio.Pool<ByteBuffer> |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public BufferPoolService(int bufferSize,
int buffersPerSlice,
boolean directBuffers)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<org.xnio.Pool<ByteBuffer>>org.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.service.Service<org.xnio.Pool<ByteBuffer>>public org.xnio.Pool<ByteBuffer> getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<org.xnio.Pool<ByteBuffer>>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.