| Package | Description |
|---|---|
| org.glassfish.grizzly.thrift.client | |
| org.glassfish.grizzly.thrift.client.zookeeper |
| Modifier and Type | Method and Description |
|---|---|
void |
GrizzlyThriftClient.addZooKeeperListener(BarrierListener listener)
Add the custom
BarrierListener
The given listener will be called after thrift client's default listener will be completed. |
void |
GrizzlyThriftClient.removeZooKeeperListener(BarrierListener listener)
Remove the custom
BarrierListener
The given listener will be called after thrift client's default listener will be completed. |
| Modifier and Type | Class and Description |
|---|---|
class |
ServerListBarrierListener
The
BarrierListener implementation for synchronizing the thrift server list among all clients which have joined the same zookeeper server |
| Modifier and Type | Method and Description |
|---|---|
void |
ServerListBarrierListener.addCustomListener(BarrierListener listener) |
void |
ZooKeeperSupportThriftClient.addZooKeeperListener(BarrierListener listener)
Add the custom
BarrierListener
The given listener will be called after thrift client's default listener will be completed. |
String |
ZKClient.registerBarrier(String regionName,
BarrierListener listener,
byte[] initialData)
Register the specific barrier
|
void |
ServerListBarrierListener.removeCustomListener(BarrierListener listener) |
void |
ZooKeeperSupportThriftClient.removeZooKeeperListener(BarrierListener listener)
Remove the custom
BarrierListener
The given listener will be called after thrift client's default listener will be completed. |
Copyright © 2017-2019 Oracle Corporation. All Rights Reserved.