GemFire 6.5.1.2

com.gemstone.gemfire.cache.util
Class BridgeMembership

java.lang.Object
  extended by com.gemstone.gemfire.cache.util.BridgeMembership

public final class BridgeMembership
extends Object

Provides utility methods for registering and unregistering BridgeMembershipListeners in this process.

Since:
4.2.1

Method Summary
static BridgeMembershipListener[] getBridgeMembershipListeners()
          Returns an array of all the currently registered BridgeMembershipListeners.
static void registerBridgeMembershipListener(BridgeMembershipListener listener)
          Registers a BridgeMembershipListener for notification of connection changes for BridgeServers and bridge clients.
static void unregisterBridgeMembershipListener(BridgeMembershipListener listener)
          Removes registration of a previously registered BridgeMembershipListener.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerBridgeMembershipListener

public static void registerBridgeMembershipListener(BridgeMembershipListener listener)
Registers a BridgeMembershipListener for notification of connection changes for BridgeServers and bridge clients.

Parameters:
listener - a BridgeMembershipListener to be registered

unregisterBridgeMembershipListener

public static void unregisterBridgeMembershipListener(BridgeMembershipListener listener)
Removes registration of a previously registered BridgeMembershipListener.

Parameters:
listener - a BridgeMembershipListener to be unregistered

getBridgeMembershipListeners

public static BridgeMembershipListener[] getBridgeMembershipListeners()
Returns an array of all the currently registered BridgeMembershipListeners. Modifications to the returned array will not effect the registration of these listeners.

Returns:
the registered BridgeMembershipListeners; an empty array if no listeners

GemFire 6.5.1.2

Copyright © 2002-2010 GemStone Systems, Inc. All Rights Reserved.