public class PreferRemoteConfigBarrierListener extends CacheServerListBarrierListener
cache, cacheName, DEFAULT_SERVER_LIST_CHARSET, localCacheServerSet| Constructor and Description |
|---|
PreferRemoteConfigBarrierListener(MemcachedCache cache,
Set<SocketAddress> cacheServerSet) |
| Modifier and Type | Method and Description |
|---|---|
void |
onInit(String regionName,
String path,
byte[] remoteBytes)
Called when the barrier is registered
|
addCustomListener, getAddressesFromStringList, getStringListFromAddressSet, onCommit, onDestroy, removeCustomListener, toStringpublic PreferRemoteConfigBarrierListener(MemcachedCache cache, Set<SocketAddress> cacheServerSet)
public void onInit(String regionName, String path, byte[] remoteBytes)
BarrierListeneronInit in interface BarrierListeneronInit in class CacheServerListBarrierListenerregionName - current region namepath - current data pathremoteBytes - the data of the zookeeper server. This could be null.Copyright © 2015 Project Grizzly. All Rights Reserved.