org.jboss.soa.esb.listeners.ha
Interface ServiceClusterInfo

All Known Implementing Classes:
ServiceClusterInfoImpl

public interface ServiceClusterInfo

Holder for a list of eprs all belonging to the same service. Code based on jbossas ha framework.

Author:
Kurt Stam.

Field Summary
static int UNINITIALIZED_CURSOR
           
 
Method Summary
 int getCursor()
           
 java.util.List<EPR> getEPRs()
          Gets the list of eprs.
 java.lang.String getServiceName()
           
 java.util.List<EPR> removeDeadEPR(EPR epr)
          Remove the given epr from the list of eprs.
 int setCursor(int cursor)
           
 java.util.List<EPR> updateClusterInfo(java.util.List<EPR> eprs)
          Updates the eprs.
 

Field Detail

UNINITIALIZED_CURSOR

static final int UNINITIALIZED_CURSOR
See Also:
Constant Field Values
Method Detail

getServiceName

java.lang.String getServiceName()

getEPRs

java.util.List<EPR> getEPRs()
Gets the list of eprs.


removeDeadEPR

java.util.List<EPR> removeDeadEPR(EPR epr)
Remove the given epr from the list of eprs.

Parameters:
target - the epr
Returns:
the updated list of EPRs

updateClusterInfo

java.util.List<EPR> updateClusterInfo(java.util.List<EPR> eprs)
Updates the eprs.


getCursor

int getCursor()

setCursor

int setCursor(int cursor)