org.apache.jcs.auxiliary.lateral.socket.tcp.discovery
Class UDPDiscoveryManager

java.lang.Object
  extended by org.apache.jcs.auxiliary.lateral.socket.tcp.discovery.UDPDiscoveryManager

public class UDPDiscoveryManager
extends java.lang.Object

This manages UDPDiscovery Services. We should end up with one service per Lateral Cache Manager Instance. One service works for multiple regions. We don't want a connection for each region.

Author:
Aaron Smuts

Method Summary
static UDPDiscoveryManager getInstance()
          Singelton
 UDPDiscoveryService getService(ITCPLateralCacheAttributes lca, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer)
          Returns the UDP Discovery service associated with this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static UDPDiscoveryManager getInstance()
Singelton

Returns:
UDPDiscoveryManager

getService

public UDPDiscoveryService getService(ITCPLateralCacheAttributes lca,
                                      ICompositeCacheManager cacheMgr,
                                      ICacheEventLogger cacheEventLogger,
                                      IElementSerializer elementSerializer)
Returns the UDP Discovery service associated with this instance.

Parameters:
lca - ITCPLateralCacheAttributes
cacheMgr -
cacheEventLogger -
elementSerializer -
Returns:
instance for this address


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.