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

Examples of org.apache.curator.x.rpc.idl.exceptions.RpcException


            String id = entry.addThing(lock, closer);
            return new OptionalLockProjection(new LockProjection(id));
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here


            return new LeaderResult(new LeaderProjection(id), leaderLatch.hasLeadership());
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

            );
            return Lists.newArrayList(transformed);
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

            LeaderLatch leaderLatch = CuratorEntry.mustGetThing(entry, leaderProjection.id, LeaderLatch.class);
            return leaderLatch.hasLeadership();
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

            return new PathChildrenCacheProjection(id);
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

                }
            );
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

            PathChildrenCache pathChildrenCache = CuratorEntry.mustGetThing(entry, cacheProjection.id, PathChildrenCache.class);
            return new RpcChildData(pathChildrenCache.getCurrentData(path));
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

            return new NodeCacheProjection(id);
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

            NodeCache nodeCache = CuratorEntry.mustGetThing(entry, cacheProjection.id, NodeCache.class);
            return new RpcChildData(nodeCache.getCurrentData());
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

            String id = entry.addThing(node, closer);
            return new PersistentEphemeralNodeProjection(id);
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.curator.x.rpc.idl.exceptions.RpcException

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.