Class NettyTransport
- java.lang.Object
-
- org.infinispan.server.core.transport.NettyTransport
-
-
Constructor Summary
Constructors Constructor Description NettyTransport(InetSocketAddress address, ProtocolServerConfiguration configuration, String threadNamePrefix, EmbeddedCacheManager cacheManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHostName()
int
getIdleTimeout()
int
getNumberIOThreads()
int
getNumberOfGlobalConnections()
int
getNumberOfLocalConnections()
int
getPendingTasks()
int
getPort()
int
getReceiveBufferSize()
int
getSendBufferSize()
boolean
getTcpNoDelay()
long
getTotalBytesRead()
long
getTotalBytesWritten()
void
initializeHandler(io.netty.channel.ChannelInitializer<io.netty.channel.Channel> handler)
void
start()
void
stop()
void
updateTotalBytesRead(int bytes)
void
updateTotalBytesWritten(int bytes)
-
-
-
Constructor Detail
-
NettyTransport
public NettyTransport(InetSocketAddress address, ProtocolServerConfiguration configuration, String threadNamePrefix, EmbeddedCacheManager cacheManager)
-
-
Method Detail
-
initializeHandler
public void initializeHandler(io.netty.channel.ChannelInitializer<io.netty.channel.Channel> handler)
-
getTotalBytesWritten
public long getTotalBytesWritten()
- Specified by:
getTotalBytesWritten
in interfaceTransport
-
getTotalBytesRead
public long getTotalBytesRead()
- Specified by:
getTotalBytesRead
in interfaceTransport
-
getHostName
public String getHostName()
- Specified by:
getHostName
in interfaceTransport
-
getNumberIOThreads
public int getNumberIOThreads()
- Specified by:
getNumberIOThreads
in interfaceTransport
-
getPendingTasks
public int getPendingTasks()
- Specified by:
getPendingTasks
in interfaceTransport
-
getIdleTimeout
public int getIdleTimeout()
- Specified by:
getIdleTimeout
in interfaceTransport
-
getTcpNoDelay
public boolean getTcpNoDelay()
- Specified by:
getTcpNoDelay
in interfaceTransport
-
getSendBufferSize
public int getSendBufferSize()
- Specified by:
getSendBufferSize
in interfaceTransport
-
getReceiveBufferSize
public int getReceiveBufferSize()
- Specified by:
getReceiveBufferSize
in interfaceTransport
-
getNumberOfLocalConnections
public int getNumberOfLocalConnections()
- Specified by:
getNumberOfLocalConnections
in interfaceTransport
-
getNumberOfGlobalConnections
public int getNumberOfGlobalConnections()
- Specified by:
getNumberOfGlobalConnections
in interfaceTransport
-
updateTotalBytesWritten
public void updateTotalBytesWritten(int bytes)
-
updateTotalBytesRead
public void updateTotalBytesRead(int bytes)
-
-