Package org.apache.curator.x.rpc.idl.structs

Examples of org.apache.curator.x.rpc.idl.structs.RpcCuratorEvent


    }

    @Override
    public void process(WatchedEvent event)
    {
        projectionService.addEvent(projection, new RpcCuratorEvent(event));
    }
View Full Code Here


    }

    @Override
    public void processResult(CuratorFramework client, CuratorEvent event) throws Exception
    {
        projectionService.addEvent(projection, new RpcCuratorEvent(event));
    }
View Full Code Here

    public RpcCuratorEvent getNextEvent(CuratorProjection projection) throws RpcException
    {
        try
        {
            CuratorEntry entry = CuratorEntry.mustGetEntry(connectionManager, projection);
            RpcCuratorEvent event = entry.pollForEvent(pingTimeMs);
            return (event != null) ? event : new RpcCuratorEvent();
        }
        catch ( InterruptedException e )
        {
            throw new RpcException(e);
        }
View Full Code Here

TOP

Related Classes of org.apache.curator.x.rpc.idl.structs.RpcCuratorEvent

Copyright © 2018 www.massapicom. 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.