public final class OioOjbectChannelFactory extends Object implements ObjectChannelFactory
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<Long> |
TIMEOUTS |
Constructor and Description |
---|
OioOjbectChannelFactory(Properties props) |
Modifier and Type | Method and Description |
---|---|
ObjectChannel |
createObjectChannel(HostInfo info) |
int |
getReceiveBufferSize() |
int |
getSendBufferSize() |
int |
getSoTimeout() |
boolean |
isConserveBandwidth() |
void |
setConserveBandwidth(boolean conserveBandwidth) |
void |
setMaxObjectSize(int maxObjectSize) |
void |
setReceiveBufferSize(int receiveBufferSize) |
void |
setSendBufferSize(int sendBufferSize) |
void |
setSoTimeout(int soTimeout) |
public static ThreadLocal<Long> TIMEOUTS
public OioOjbectChannelFactory(Properties props)
public ObjectChannel createObjectChannel(HostInfo info) throws CommunicationException, IOException
createObjectChannel
in interface ObjectChannelFactory
CommunicationException
IOException
public int getSendBufferSize()
public void setSendBufferSize(int sendBufferSize)
public int getReceiveBufferSize()
public void setReceiveBufferSize(int receiveBufferSize)
public boolean isConserveBandwidth()
public void setConserveBandwidth(boolean conserveBandwidth)
public void setSoTimeout(int soTimeout)
public void setMaxObjectSize(int maxObjectSize)
public int getSoTimeout()
getSoTimeout
in interface ObjectChannelFactory
Copyright © 2018 JBoss by Red Hat. All rights reserved.