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