Examples of RpcWatcher


Examples of org.apache.curator.x.rpc.details.RpcWatcher

            CuratorFramework client = CuratorEntry.mustGetEntry(connectionManager, projection).getClient();

            Object builder = client.getData();
            if ( spec.watched )
            {
                builder = castBuilder(builder, Watchable.class).usingWatcher(new RpcWatcher(this, projection));
            }

            if ( spec.decompressed )
            {
                builder = castBuilder(builder, Decompressible.class).decompressed();
View Full Code Here

Examples of org.apache.curator.x.rpc.details.RpcWatcher

            CuratorFramework client = CuratorEntry.mustGetEntry(connectionManager, projection).getClient();

            Object builder = client.setData();
            if ( spec.watched )
            {
                builder = castBuilder(builder, Watchable.class).usingWatcher(new RpcWatcher(this, projection));
            }
            if ( spec.version != null )
            {
                builder = castBuilder(builder, Versionable.class).withVersion(spec.version.version);
            }
View Full Code Here

Examples of org.apache.curator.x.rpc.details.RpcWatcher

            CuratorFramework client = CuratorEntry.mustGetEntry(connectionManager, projection).getClient();

            Object builder = client.checkExists();
            if ( spec.watched )
            {
                builder = castBuilder(builder, Watchable.class).usingWatcher(new RpcWatcher(this, projection));
            }

            if ( spec.asyncContext != null )
            {
                BackgroundCallback backgroundCallback = new RpcBackgroundCallback(this, projection);
View Full Code Here

Examples of org.apache.curator.x.rpc.details.RpcWatcher

            CuratorFramework client = CuratorEntry.mustGetEntry(connectionManager, projection).getClient();

            Object builder = client.getChildren();
            if ( spec.watched )
            {
                builder = castBuilder(builder, Watchable.class).usingWatcher(new RpcWatcher(this, projection));
            }

            if ( spec.asyncContext != null )
            {
                BackgroundCallback backgroundCallback = new RpcBackgroundCallback(this, projection);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.