public final class NettyEventLoops extends Object implements EventLoops, io.netty.handler.ssl.CipherSuiteFilter
Constructor and Description |
---|
NettyEventLoops(io.netty.channel.EventLoopGroup group)
Create Aerospike event loop wrappers from given netty event loops.
|
NettyEventLoops(EventPolicy policy,
io.netty.channel.EventLoopGroup group)
Create Aerospike event loop wrappers from given netty event loops.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close event loops.
|
String[] |
filterCipherSuites(Iterable<String> ciphers,
List<String> defaultCiphers,
Set<String> supportedCiphers)
Filter cipher suites.
|
NettyEventLoop |
get(io.netty.util.concurrent.EventExecutor eventExecutor)
Return corresponding Aerospike event loop given netty event loop.
|
NettyEventLoop |
get(int index)
Return Aerospike event loop given array index..
|
NettyEventLoop[] |
getArray()
Return array of Aerospike event loops.
|
int |
getSize()
Return number of event loops in this group.
|
void |
initTlsContext(TlsPolicy policy)
Initialize TLS context.
|
NettyEventLoop |
next()
Return next Aerospike event loop in round-robin fashion.
|
public NettyEventLoops(io.netty.channel.EventLoopGroup group)
public NettyEventLoops(EventPolicy policy, io.netty.channel.EventLoopGroup group)
public void initTlsContext(TlsPolicy policy)
initTlsContext
in interface EventLoops
public String[] filterCipherSuites(Iterable<String> ciphers, List<String> defaultCiphers, Set<String> supportedCiphers)
filterCipherSuites
in interface io.netty.handler.ssl.CipherSuiteFilter
public NettyEventLoop get(io.netty.util.concurrent.EventExecutor eventExecutor)
public NettyEventLoop[] getArray()
getArray
in interface EventLoops
public int getSize()
getSize
in interface EventLoops
public NettyEventLoop get(int index)
get
in interface EventLoops
public NettyEventLoop next()
next
in interface EventLoops
public void close()
EventLoops
close
in interface EventLoops
close
in interface Closeable
close
in interface AutoCloseable
Copyright ? 2012–2018 Aerospike, Inc. All rights reserved.