|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes
org.apache.jcs.auxiliary.lateral.LateralCacheAttributes
org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes
This interface defines functions that are particular to the TCP Lateral Cache plugin. It extends the generic LateralCacheAttributes interface which in turn extends the AuxiliaryCache interface.
Field Summary |
Fields inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes |
cacheName, eventQueuePoolName, eventQueueType, name |
Fields inherited from interface org.apache.jcs.auxiliary.lateral.behavior.ILateralCacheAttributes |
HTTP, JAVAGROUPS, TCP, UDP, XMLRPC |
Fields inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
POOLED_QUEUE_TYPE, SINGLE_QUEUE_TYPE |
Constructor Summary | |
TCPLateralCacheAttributes()
|
Method Summary | |
AuxiliaryCacheAttributes |
copy()
Description of the Method |
int |
getTcpListenerPort()
Gets the tcpListenerPort attribute of the ILateralCacheAttributes object |
java.lang.String |
getTcpServer()
Gets the tcpServer attribute of the ILateralCacheAttributes object |
java.lang.String |
getTcpServers()
Gets the tcpServers attribute of the ILateralCacheAttributes object |
java.lang.String |
getUdpDiscoveryAddr()
The address to broadcast to if UDPDiscovery is enabled. |
int |
getUdpDiscoveryPort()
The port to use if UDPDiscovery is enabled. |
boolean |
isAllowGet()
Is the lateral allowed to try and get from other laterals. |
boolean |
isAllowPut()
Is the lateral allowed to put objects to other laterals. |
boolean |
isFilterRemoveByHashCode()
Should the receiver try to match hashcodes. |
boolean |
isIssueRemoveOnPut()
Should the client send a remove command rather than a put when update is called. |
boolean |
isUdpDiscoveryEnabled()
Whether or not TCP laterals can try to find each other by multicast communication. |
void |
setAllowGet(boolean allowGet)
Is the lateral allowed to try and get from other laterals. |
void |
setAllowPut(boolean allowPut)
Is the lateral allowed to put objects to other laterals. |
void |
setFilterRemoveByHashCode(boolean filter)
Should the receiver try to match hashcodes. |
void |
setIssueRemoveOnPut(boolean issueRemoveOnPut)
Should the client send a remove command rather than a put when update is called. |
void |
setTcpListenerPort(int val)
Sets the tcpListenerPort attribute of the ILateralCacheAttributes object |
void |
setTcpServer(java.lang.String val)
Sets the tcpServer attribute of the ILateralCacheAttributes object |
void |
setTcpServers(java.lang.String val)
Sets the tcpServers attribute of the ILateralCacheAttributes object |
void |
setUdpDiscoveryAddr(java.lang.String udpDiscoveryAddr)
Sets the address to broadcast to if UDPDiscovery is enabled. |
void |
setUdpDiscoveryEnabled(boolean udpDiscoveryEnabled)
Can setup UDP Discovery. |
void |
setUdpDiscoveryPort(int udpDiscoveryPort)
Sets the port to use if UDPDiscovery is enabled. |
java.lang.String |
toString()
Used to key the instance TODO create another method for this and use toString for debugging only. |
Methods inherited from class org.apache.jcs.auxiliary.lateral.LateralCacheAttributes |
getHttpListenerPort, getHttpServer, getHttpServers, getJGChannelProperties, getPutOnlyMode, getTransmissionType, getTransmissionTypeName, getUdpMulticastAddr, getUdpMulticastPort, isReceive, setHttpListenerPort, setHttpServer, setHttpServers, setJGChannelProperties, setPutOnlyMode, setReceive, setTransmissionType, setTransmissionTypeName, setUdpMulticastAddr, setUdpMulticastPort |
Methods inherited from class org.apache.jcs.auxiliary.AbstractAuxiliaryCacheAttributes |
getCacheName, getEventQueuePoolName, getEventQueueType, getEventQueueTypeFactoryCode, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.jcs.auxiliary.lateral.behavior.ILateralCacheAttributes |
getHttpListenerPort, getHttpServer, getHttpServers, getJGChannelProperties, getPutOnlyMode, getTransmissionType, getTransmissionTypeName, getUdpMulticastAddr, getUdpMulticastPort, isReceive, setHttpListenerPort, setHttpServer, setHttpServers, setJGChannelProperties, setPutOnlyMode, setReceive, setTransmissionType, setTransmissionTypeName, setUdpMulticastAddr, setUdpMulticastPort |
Methods inherited from interface org.apache.jcs.auxiliary.AuxiliaryCacheAttributes |
getCacheName, getEventQueuePoolName, getEventQueueType, getEventQueueTypeFactoryCode, getName, setCacheName, setEventQueuePoolName, setEventQueueType, setName |
Constructor Detail |
public TCPLateralCacheAttributes()
Method Detail |
public void setTcpServer(java.lang.String val)
ITCPLateralCacheAttributes
setTcpServer
in interface ITCPLateralCacheAttributes
val
- The new tcpServer valuepublic java.lang.String getTcpServer()
ITCPLateralCacheAttributes
getTcpServer
in interface ITCPLateralCacheAttributes
public void setTcpServers(java.lang.String val)
ITCPLateralCacheAttributes
setTcpServers
in interface ITCPLateralCacheAttributes
val
- The new tcpServers valuepublic java.lang.String getTcpServers()
ITCPLateralCacheAttributes
getTcpServers
in interface ITCPLateralCacheAttributes
public void setTcpListenerPort(int val)
ITCPLateralCacheAttributes
setTcpListenerPort
in interface ITCPLateralCacheAttributes
val
- The new tcpListenerPort valuepublic int getTcpListenerPort()
ITCPLateralCacheAttributes
getTcpListenerPort
in interface ITCPLateralCacheAttributes
public void setUdpDiscoveryEnabled(boolean udpDiscoveryEnabled)
ITCPLateralCacheAttributes
setUdpDiscoveryEnabled
in interface ITCPLateralCacheAttributes
udpDiscoveryEnabled
- The udpDiscoveryEnabled to set.public boolean isUdpDiscoveryEnabled()
ITCPLateralCacheAttributes
isUdpDiscoveryEnabled
in interface ITCPLateralCacheAttributes
public int getUdpDiscoveryPort()
ITCPLateralCacheAttributes
getUdpDiscoveryPort
in interface ITCPLateralCacheAttributes
public void setUdpDiscoveryPort(int udpDiscoveryPort)
ITCPLateralCacheAttributes
setUdpDiscoveryPort
in interface ITCPLateralCacheAttributes
udpDiscoveryPort
- The udpDiscoveryPort to set.public java.lang.String getUdpDiscoveryAddr()
ITCPLateralCacheAttributes
getUdpDiscoveryAddr
in interface ITCPLateralCacheAttributes
public void setUdpDiscoveryAddr(java.lang.String udpDiscoveryAddr)
ITCPLateralCacheAttributes
setUdpDiscoveryAddr
in interface ITCPLateralCacheAttributes
udpDiscoveryAddr
- The udpDiscoveryAddr to set.public void setAllowGet(boolean allowGet)
ITCPLateralCacheAttributes
This replaces the old putOnlyMode
setAllowGet
in interface ITCPLateralCacheAttributes
allowGet
- public boolean isAllowGet()
ITCPLateralCacheAttributes
isAllowGet
in interface ITCPLateralCacheAttributes
public void setAllowPut(boolean allowPut)
ITCPLateralCacheAttributes
setAllowPut
in interface ITCPLateralCacheAttributes
allowPut
- public boolean isAllowPut()
ITCPLateralCacheAttributes
isAllowPut
in interface ITCPLateralCacheAttributes
public void setIssueRemoveOnPut(boolean issueRemoveOnPut)
ITCPLateralCacheAttributes
setIssueRemoveOnPut
in interface ITCPLateralCacheAttributes
issueRemoveOnPut
- public boolean isIssueRemoveOnPut()
ITCPLateralCacheAttributes
isIssueRemoveOnPut
in interface ITCPLateralCacheAttributes
public AuxiliaryCacheAttributes copy()
AuxiliaryCacheAttributes
copy
in interface AuxiliaryCacheAttributes
copy
in class LateralCacheAttributes
public boolean isFilterRemoveByHashCode()
ITCPLateralCacheAttributes
isFilterRemoveByHashCode
in interface ITCPLateralCacheAttributes
public void setFilterRemoveByHashCode(boolean filter)
ITCPLateralCacheAttributes
setFilterRemoveByHashCode
in interface ITCPLateralCacheAttributes
filter
- public java.lang.String toString()
toString
in class LateralCacheAttributes
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |