Apache Helix
Package Index
|
Class Index
org.apache.helix
org.apache.helix.agent
org.apache.helix.alerts
org.apache.helix.api
org.apache.helix.api.accessor
org.apache.helix.api.config
org.apache.helix.api.id
org.apache.helix.controller
org.apache.helix.controller.context
org.apache.helix.controller.pipeline
org.apache.helix.controller.rebalancer
org.apache.helix.controller.rebalancer.config
org.apache.helix.controller.rebalancer.util
org.apache.helix.controller.restlet
org.apache.helix.controller.serializer
org.apache.helix.controller.stages
org.apache.helix.controller.strategy
org.apache.helix.examples
org.apache.helix.filestore
org.apache.helix.healthcheck
org.apache.helix.lock
org.apache.helix.lock.zk
org.apache.helix.lockmanager
org.apache.helix.manager.zk
org.apache.helix.manager.zk.serializer
org.apache.helix.messaging
org.apache.helix.messaging.handling
org.apache.helix.model
org.apache.helix.model.builder
org.apache.helix.model.util
org.apache.helix.monitoring
org.apache.helix.monitoring.mbeans
org.apache.helix.participant
org.apache.helix.participant.statemachine
org.apache.helix.recipes.rabbitmq
org.apache.helix.servicediscovery
org.apache.helix.spectator
org.apache.helix.store
org.apache.helix.store.zk
org.apache.helix.taskexecution
org.apache.helix.tools
org.apache.helix.userdefinedrebalancer
org.apache.helix.util
org.apache.helix.webapp
org.apache.helix.webapp.resources
Classes
MyService
ServiceDiscovery
ServiceDiscoveryDemo
ServiceMetadata
Package Index
|
Class Index
Summary:
Ctors
|
Methods
|
Inherited Methods
|
[Expand All]
public class
ServiceDiscovery
extends
Object
java.lang.Object
↳
org.apache.helix.servicediscovery.ServiceDiscovery
Summary
Public Constructors
ServiceDiscovery
(
String
zkAddress,
String
cluster, ServiceDiscovery.Mode mode)
Public Methods
void
deregister
(
String
serviceId)
List
<
ServiceMetadata
>
findAllServices
()
boolean
register
(
String
serviceId,
ServiceMetadata
serviceMetadata)
boolean
start
()
boolean
stop
()
[Expand]
Inherited Methods
From class
java.lang.Object
Object
clone
()
boolean
equals
(
Object
arg0)
void
finalize
()
final
Class
<?>
getClass
()
int
hashCode
()
final void
notify
()
final void
notifyAll
()
String
toString
()
final void
wait
()
final void
wait
(long arg0, int arg1)
final void
wait
(long arg0)
Public Constructors
public
ServiceDiscovery
(
String
zkAddress,
String
cluster, ServiceDiscovery.Mode mode)
Public Methods
public void
deregister
(
String
serviceId)
public
List
<
ServiceMetadata
>
findAllServices
()
public boolean
register
(
String
serviceId,
ServiceMetadata
serviceMetadata)
Throws
Exception
public boolean
start
()
Returns
returns true if
Throws
Exception
public boolean
stop
()