C D G O R S W 

C

contains(Discoverable) - Method in interface org.apache.twill.discovery.ServiceDiscovered
Checks if the given discoverable contains in the current discovery list.

D

discover(String) - Method in interface org.apache.twill.discovery.DiscoveryServiceClient
Discover service with the given name.
Discoverable - Interface in org.apache.twill.discovery
Discoverable defines the attributes of service to be discovered.
DiscoveryService - Interface in org.apache.twill.discovery
DiscoveryService defines interface for registering Discoverable.
DiscoveryServiceClient - Interface in org.apache.twill.discovery
Interface for DiscoveryServiceClient to discover services registered with DiscoveryService.

G

getName() - Method in interface org.apache.twill.discovery.Discoverable
 
getName() - Method in interface org.apache.twill.discovery.ServiceDiscovered
Returns the name of the service being discovered.
getSocketAddress() - Method in interface org.apache.twill.discovery.Discoverable
 

O

onChange(ServiceDiscovered) - Method in interface org.apache.twill.discovery.ServiceDiscovered.ChangeListener
This method will be invoked when the discovery list changed.
org.apache.twill.discovery - package org.apache.twill.discovery
 

R

register(Discoverable) - Method in interface org.apache.twill.discovery.DiscoveryService
Registers a Discoverable service.

S

ServiceDiscovered - Interface in org.apache.twill.discovery
Represents the result of service discovery.
ServiceDiscovered.ChangeListener - Interface in org.apache.twill.discovery
Represents a callback for watching changes in the discovery list.

W

watchChanges(ServiceDiscovered.ChangeListener, Executor) - Method in interface org.apache.twill.discovery.ServiceDiscovered
Registers a ServiceDiscovered.ChangeListener to watch for changes in the discovery list.
C D G O R S W 

Copyright © 2013-2015 The Apache Software Foundation. All rights reserved.