1 22 package org.jboss.invocation.pooled.server; 23 24 import java.net.ServerSocket ; 25 import javax.management.ObjectName ; 26 import javax.net.ServerSocketFactory; 27 28 import org.jboss.invocation.pooled.interfaces.PooledInvokerProxy; 29 30 36 public interface PooledInvokerMBean extends org.jboss.system.ServiceMBean 37 { 38 39 43 int getNumAcceptThreads(); 44 45 49 void setNumAcceptThreads(int size); 50 51 55 int getMaxPoolSize(); 56 57 61 void setMaxPoolSize(int maxPoolSize); 62 63 67 int getClientMaxPoolSize(); 68 69 73 void setClientMaxPoolSize(int clientMaxPoolSize); 74 75 79 int getSocketTimeout(); 80 81 85 void setSocketTimeout(int time); 86 87 90 int getCurrentClientPoolSize(); 91 92 95 int getCurrentThreadPoolSize(); 96 97 101 int getServerBindPort(); 102 103 107 void setServerBindPort(int serverBindPort); 108 109 112 String getClientConnectAddress(); 113 117 void setClientConnectAddress(java.lang.String clientConnectAddress); 118 119 122 int getClientConnectPort(); 123 126 void setClientConnectPort(int clientConnectPort); 127 128 131 public int getClientRetryCount(); 132 135 public void setClientRetryCount(int clientRetryCount); 136 137 140 int getBacklog(); 141 144 void setBacklog(int backlog); 145 146 149 boolean isEnableTcpNoDelay(); 150 154 void setEnableTcpNoDelay(boolean enableTcpNoDelay); 155 156 String getServerBindAddress(); 157 158 void setServerBindAddress(String serverBindAddress); 159 160 165 ObjectName getTransactionManagerService(); 166 167 171 void setTransactionManagerService(ObjectName transactionManagerService); 172 173 PooledInvokerProxy getOptimizedInvokerProxy(); 174 175 179 public String getClientSocketFactoryName(); 180 184 public void setClientSocketFactoryName(String factoryName); 185 186 190 public String getServerSocketFactoryName(); 191 195 public void setServerSocketFactoryName(String factoryName); 196 197 public ServerSocketFactory getServerSocketFactory(); 198 public void setServerSocketFactory(ServerSocketFactory factory); 199 200 public String getSslDomain(); 201 public void setSslDomain(String sslDomain); 202 203 } 204 | Popular Tags |