net.sf.ehcache.distribution
public class JNDIRMICacheManagerPeerListener extends RMICacheManagerPeerListener implements CacheManagerPeerListener
Version: $Id: JNDIRMICacheManagerPeerListener.java 170 2006-08-11 11:25:58Z gregluck $
See Also: RMICacheManagerPeerListener
Constructor Summary | |
---|---|
JNDIRMICacheManagerPeerListener(String hostName, Integer port, CacheManager cacheManager, Integer socketTimeoutMillis)
Constructor with full arguments.
|
Method Summary | |
---|---|
protected void | disposeRMICachePeer(RMICachePeer rmiCachePeer)
Disposes an individual RMICachePeer. |
void | init() |
Parameters: hostName may be null, in which case the hostName will be looked up. Machines with multiple interfaces should specify this if they do not want it to be the default NIC. port a port in the range 1025 - 65536 cacheManager the CacheManager this listener belongs to socketTimeoutMillis TCP/IP Socket timeout when waiting on response Constructor
Throws: java.net.UnknownHostException
See Also: RMICacheManagerPeerListener
Parameters: rmiCachePeer the cache peer to dispose of
Throws: Exception thrown if something goes wrong