com.twitter.common.zookeeper.Group Java Examples
The following examples show how to use
com.twitter.common.zookeeper.Group.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ConfigFileServerSet.java From pinlater with Apache License 2.0 | 4 votes |
@Override public EndpointStatus join( InetSocketAddress endpoint, Map<String, InetSocketAddress> additionalEndpoints, Status status) throws Group.JoinException, InterruptedException { throw new UnsupportedOperationException("ConfigFileServerSet does not support join()"); }
Example #2
Source File: ConfigFileServerSet.java From pinlater with Apache License 2.0 | 4 votes |
@Override public EndpointStatus join( InetSocketAddress endpoint, Map<String, InetSocketAddress> additionalEndpoints) throws Group.JoinException, InterruptedException { throw new UnsupportedOperationException("ConfigFileServerSet does not support join()"); }
Example #3
Source File: ConfigFileServerSet.java From pinlater with Apache License 2.0 | 4 votes |
@Override public EndpointStatus join( InetSocketAddress endpoint, Map<String, InetSocketAddress> additionalEndpoints, int shardId) throws Group.JoinException, InterruptedException { throw new UnsupportedOperationException("ConfigFileServerSet does not support join()"); }
Example #4
Source File: NameServerSet.java From distributedlog with Apache License 2.0 | 3 votes |
/** * Attempts to join a server set for this logical service group. * * @param endpoint the primary service endpoint * @param additionalEndpoints and additional endpoints keyed by their logical name * @param status the current service status * @return an EndpointStatus object that allows the endpoint to adjust its status * @throws Group.JoinException if there was a problem joining the server set * @throws InterruptedException if interrupted while waiting to join the server set * @deprecated The status field is deprecated. Please use {@link #join(java.net.InetSocketAddress, java.util.Map)} */ @Override public EndpointStatus join(InetSocketAddress endpoint, Map<String, InetSocketAddress> additionalEndpoints, Status status) throws Group.JoinException, InterruptedException { throw new UnsupportedOperationException("NameServerSet does not support join"); }
Example #5
Source File: NameServerSet.java From distributedlog with Apache License 2.0 | 3 votes |
/** * Attempts to join a server set for this logical service group. * * @param endpoint the primary service endpoint * @param additionalEndpoints and additional endpoints keyed by their logical name * @param shardId Unique shard identifier for this member of the service. * @return an EndpointStatus object that allows the endpoint to adjust its status * @throws Group.JoinException if there was a problem joining the server set * @throws InterruptedException if interrupted while waiting to join the server set */ @Override public EndpointStatus join(InetSocketAddress endpoint, Map<String, InetSocketAddress> additionalEndpoints, int shardId) throws Group.JoinException, InterruptedException { throw new UnsupportedOperationException("NameServerSet does not support join"); }
Example #6
Source File: NameServerSet.java From distributedlog with Apache License 2.0 | 2 votes |
/** * Attempts to join a server set for this logical service group. * * @param endpoint the primary service endpoint * @param additionalEndpoints and additional endpoints keyed by their logical name * @return an EndpointStatus object that allows the endpoint to adjust its status * @throws Group.JoinException if there was a problem joining the server set * @throws InterruptedException if interrupted while waiting to join the server set */ @Override public EndpointStatus join(InetSocketAddress endpoint, Map<String, InetSocketAddress> additionalEndpoints) throws Group.JoinException, InterruptedException { throw new UnsupportedOperationException("NameServerSet does not support join"); }
Example #7
Source File: NameServerSet.java From distributedlog with Apache License 2.0 | 2 votes |
/** * Attempts to join a server set for this logical service group. * * @param endpoint the primary service endpoint * @param additionalEndpoints and additional endpoints keyed by their logical name * @param status the current service status * @return an EndpointStatus object that allows the endpoint to adjust its status * @throws Group.JoinException if there was a problem joining the server set * @throws InterruptedException if interrupted while waiting to join the server set * @deprecated The status field is deprecated. Please use {@link #join(java.net.InetSocketAddress, java.util.Map)} */ @Override public EndpointStatus join(InetSocketAddress endpoint, Map<String, InetSocketAddress> additionalEndpoints, Status status) throws Group.JoinException, InterruptedException { throw new UnsupportedOperationException("NameServerSet does not support join"); }
Example #8
Source File: NameServerSet.java From distributedlog with Apache License 2.0 | 2 votes |
/** * Attempts to join a server set for this logical service group. * * @param endpoint the primary service endpoint * @param additionalEndpoints and additional endpoints keyed by their logical name * @return an EndpointStatus object that allows the endpoint to adjust its status * @throws Group.JoinException if there was a problem joining the server set * @throws InterruptedException if interrupted while waiting to join the server set */ @Override public EndpointStatus join(InetSocketAddress endpoint, Map<String, InetSocketAddress> additionalEndpoints) throws Group.JoinException, InterruptedException { throw new UnsupportedOperationException("NameServerSet does not support join"); }
Example #9
Source File: NameServerSet.java From distributedlog with Apache License 2.0 | 2 votes |
/** * Attempts to join a server set for this logical service group. * * @param endpoint the primary service endpoint * @param additionalEndpoints and additional endpoints keyed by their logical name * @param shardId Unique shard identifier for this member of the service. * @return an EndpointStatus object that allows the endpoint to adjust its status * @throws Group.JoinException if there was a problem joining the server set * @throws InterruptedException if interrupted while waiting to join the server set */ @Override public EndpointStatus join(InetSocketAddress endpoint, Map<String, InetSocketAddress> additionalEndpoints, int shardId) throws Group.JoinException, InterruptedException { throw new UnsupportedOperationException("NameServerSet does not support join"); }