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

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


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


                .build();
            return new DiscoveryInstance(serviceInstance);
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

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

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

        {
            return new DiscoveryInstance(serviceProvider.getInstance());
        }
        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

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

            ServiceDiscovery<byte[]> serviceDiscovery = CuratorEntry.mustGetThing(entry, discoveryProjection.id, ServiceDiscovery.class);
            serviceDiscovery.registerService(instance.toReal());
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

            ServiceDiscovery<byte[]> serviceDiscovery = CuratorEntry.mustGetThing(entry, discoveryProjection.id, ServiceDiscovery.class);
            serviceDiscovery.updateService(instance.toReal());
        }
        catch ( Exception e )
        {
            throw new RpcException(e);
        }
    }
View Full Code Here

            ServiceDiscovery<byte[]> serviceDiscovery = CuratorEntry.mustGetThing(entry, discoveryProjection.id, ServiceDiscovery.class);
            serviceDiscovery.unregisterService(instance.toReal());
        }
        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.