com.caucho.server.http
Class Srun
java.lang.Object
|
+--com.caucho.server.http.Srun
- public class Srun
- extends java.lang.Object
Base class for HTTP and Runner servers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
dbg
protected WriteStream dbg
setId
public void setId(java.lang.String id)
getId
public java.lang.String getId()
getIndex
public int getIndex()
setIndex
public void setIndex(int i)
getHost
public java.lang.String getHost()
setHost
public void setHost(java.lang.String host)
getPort
public int getPort()
setPort
public void setPort(int port)
isBackup
public boolean isBackup()
setBackup
public void setBackup(boolean isBackup)
getGroupId
public java.lang.String getGroupId()
setGroupId
public void setGroupId(java.lang.String groupId)
getGroup
public Srun[] getGroup()
setGroup
public void setGroup(Srun[] group)
getGroupIndex
public int getGroupIndex()
- Returns the index of the srun with the group.
getTimeout
public int getTimeout()
setTimeout
public void setTimeout(int timeout)
setGroupIndex
public void setGroupIndex(int index)
- Returns the index of the srun with the group.
getSessionConnection
public ReadWritePair getSessionConnection()
throws java.io.IOException
getRecycleConnection
public ReadWritePair getRecycleConnection()
throws java.io.IOException
freeSessionConnection
public void freeSessionConnection(ReadWritePair rws)
getConnection
public com.caucho.server.http.SrunConnection getConnection()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object