public class AfterConnectionEstablished
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.concurrent.Future<?> |
execute(org.apache.curator.framework.CuratorFramework client,
java.lang.Runnable runAfterConnection) |
Spawns a new new background thread that will block until a connection is available and
then execute the 'runAfterConnection' logic
|
public static java.util.concurrent.Future<?> execute(org.apache.curator.framework.CuratorFramework client,
java.lang.Runnable runAfterConnection)
throws java.lang.Exception
client - The curator clientrunAfterConnection - The logic to runjava.lang.ExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.