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