public class DatagramChannelAllocator extends java.lang.Object implements stormpot.Allocator<DatagramChannelPoolable>
| Constructor and Description |
|---|
DatagramChannelAllocator(java.net.InetSocketAddress server,
int bufferSize,
java.nio.charset.Charset charset,
FlushStrategy flushStrategy) |
| Modifier and Type | Method and Description |
|---|---|
DatagramChannelPoolable |
allocate(stormpot.Slot slot) |
void |
deallocate(DatagramChannelPoolable poolable) |
public DatagramChannelAllocator(@Nonnull
java.net.InetSocketAddress server,
int bufferSize,
@Nonnull
java.nio.charset.Charset charset,
@Nonnull
FlushStrategy flushStrategy)
public DatagramChannelPoolable allocate(stormpot.Slot slot) throws java.lang.Exception
allocate in interface stormpot.Allocator<DatagramChannelPoolable>java.lang.Exceptionpublic void deallocate(DatagramChannelPoolable poolable) throws java.lang.Exception
deallocate in interface stormpot.Allocator<DatagramChannelPoolable>java.lang.ExceptionCopyright © 2010-2019 JmxTrans team. All Rights Reserved.