org.jboss.invocation.pooled.server
Interface PooledInvokerMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
PooledInvoker

public interface PooledInvokerMBean
extends org.jboss.system.ServiceMBean

The PooledInvoker standard MBean interface.

Version:
$Revision: 1.1.6.3 $
Author:
Bill Burke, Scott.Stark@jboss.org

Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 int getBacklog()
           
 String getClientConnectAddress()
           
 int getClientConnectPort()
           
 int getClientMaxPoolSize()
          Getter for property maxPoolSize;
 int getClientRetryCount()
           
 String getClientSocketFactoryName()
          Set the client socket factory implementation
 int getCurrentClientPoolSize()
           
 int getCurrentThreadPoolSize()
           
 int getMaxPoolSize()
          Getter for property maxPoolSize;
 int getNumAcceptThreads()
          Getter for property numAcceptThreads
 PooledInvokerProxy getOptimizedInvokerProxy()
           
 String getServerBindAddress()
           
 int getServerBindPort()
          Getter for property serverBindPort.
 String getServerSocketFactoryName()
          Set the server socket factory implementation
 int getSocketTimeout()
          Getter for property timeout
 String getSslDomain()
           
 javax.management.ObjectName getTransactionManagerService()
          mbean get-set pair for field transactionManagerService Get the value of transactionManagerService
 boolean isEnableTcpNoDelay()
           
 void setBacklog(int backlog)
           
 void setClientConnectAddress(String clientConnectAddress)
          Set the clientConnectAddress
 void setClientConnectPort(int clientConnectPort)
           
 void setClientMaxPoolSize(int clientMaxPoolSize)
          Setter for property maxPoolSize.
 void setClientRetryCount(int clientRetryCount)
           
 void setClientSocketFactoryName(String factoryName)
          Set the client factory implementation
 void setEnableTcpNoDelay(boolean enableTcpNoDelay)
          Socket.setTcpNoDelay flag
 void setMaxPoolSize(int maxPoolSize)
          Setter for property maxPoolSize.
 void setNumAcceptThreads(int size)
          Setter for property numAcceptThreads
 void setServerBindAddress(String serverBindAddress)
           
 void setServerBindPort(int serverBindPort)
          Setter for property serverBindPort.
 void setServerSocketFactoryName(String factoryName)
          Set the server factory implementation
 void setSocketTimeout(int time)
          Setter for property timeout
 void setSslDomain(String sslDomain)
           
 void setTransactionManagerService(javax.management.ObjectName transactionManagerService)
          Set the value of transactionManagerService
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getNumAcceptThreads

public int getNumAcceptThreads()
Getter for property numAcceptThreads

Returns:
Value of property numAcceptThreads

setNumAcceptThreads

public void setNumAcceptThreads(int size)
Setter for property numAcceptThreads

Parameters:
size - New value of property numAcceptThreads.

getMaxPoolSize

public int getMaxPoolSize()
Getter for property maxPoolSize;

Returns:
Value of property maxPoolSize.

setMaxPoolSize

public void setMaxPoolSize(int maxPoolSize)
Setter for property maxPoolSize.

Parameters:
maxPoolSize - New value of property serverBindPort.

getClientMaxPoolSize

public int getClientMaxPoolSize()
Getter for property maxPoolSize;

Returns:
Value of property maxPoolSize.

setClientMaxPoolSize

public void setClientMaxPoolSize(int clientMaxPoolSize)
Setter for property maxPoolSize.

Parameters:
clientMaxPoolSize - New value of property serverBindPort.

getSocketTimeout

public int getSocketTimeout()
Getter for property timeout

Returns:
Value of property timeout

setSocketTimeout

public void setSocketTimeout(int time)
Setter for property timeout

Parameters:
time - New value of property timeout

getCurrentClientPoolSize

public int getCurrentClientPoolSize()
Returns:
Current client connection pool size

getCurrentThreadPoolSize

public int getCurrentThreadPoolSize()
Returns:
current connection thread pool size

getServerBindPort

public int getServerBindPort()
Getter for property serverBindPort.

Returns:
Value of property serverBindPort.

setServerBindPort

public void setServerBindPort(int serverBindPort)
Setter for property serverBindPort.

Parameters:
serverBindPort - New value of property serverBindPort.

getClientConnectAddress

public String getClientConnectAddress()
Returns:
the address the client proxy connects to

setClientConnectAddress

public void setClientConnectAddress(String clientConnectAddress)
Set the clientConnectAddress

Parameters:
clientConnectAddress - - address the client proxy connects to

getClientConnectPort

public int getClientConnectPort()
Returns:
the client local bind port

setClientConnectPort

public void setClientConnectPort(int clientConnectPort)
Parameters:
clientConnectPort - - the client local bind port

getClientRetryCount

public int getClientRetryCount()
Returns:
the number of connect retries

setClientRetryCount

public void setClientRetryCount(int clientRetryCount)
Parameters:
clientRetryCount - - the number of connect retries

getBacklog

public int getBacklog()
Returns:
the server accept backlog

setBacklog

public void setBacklog(int backlog)
Parameters:
backlog - - the server accept backlog

isEnableTcpNoDelay

public boolean isEnableTcpNoDelay()
Returns:
Socket.setTcpNoDelay flag

setEnableTcpNoDelay

public void setEnableTcpNoDelay(boolean enableTcpNoDelay)
Socket.setTcpNoDelay flag

Parameters:
enableTcpNoDelay -

getServerBindAddress

public String getServerBindAddress()

setServerBindAddress

public void setServerBindAddress(String serverBindAddress)

getTransactionManagerService

public javax.management.ObjectName getTransactionManagerService()
mbean get-set pair for field transactionManagerService Get the value of transactionManagerService

Returns:
value of transactionManagerService

setTransactionManagerService

public void setTransactionManagerService(javax.management.ObjectName transactionManagerService)
Set the value of transactionManagerService

Parameters:
transactionManagerService - Value to assign to transactionManagerService

getOptimizedInvokerProxy

public PooledInvokerProxy getOptimizedInvokerProxy()

getClientSocketFactoryName

public String getClientSocketFactoryName()
Set the client socket factory implementation

Returns:
the javax.net.SocketFactory implementation class name

setClientSocketFactoryName

public void setClientSocketFactoryName(String factoryName)
Set the client factory implementation

Parameters:
factoryName - - the javax.net.SocketFactory implementation class name

getServerSocketFactoryName

public String getServerSocketFactoryName()
Set the server socket factory implementation

Returns:
the javax.net.ServerSocketFactory implementation class name

setServerSocketFactoryName

public void setServerSocketFactoryName(String factoryName)
Set the server factory implementation

Parameters:
factoryName - - the javax.net.ServerSocketFactory implementation class name

getSslDomain

public String getSslDomain()

setSslDomain

public void setSslDomain(String sslDomain)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.