org.kie.commons.io.impl.cluster.helix
Class ClusterServiceHelix
java.lang.Object
org.kie.commons.io.impl.cluster.helix.ClusterServiceHelix
- All Implemented Interfaces:
- org.kie.commons.cluster.ClusterService, org.kie.commons.lock.LockService, org.kie.commons.message.MessageService
public class ClusterServiceHelix
- extends Object
- implements org.kie.commons.cluster.ClusterService
|
Method Summary |
void |
broadcast(org.kie.commons.message.MessageType type,
Map<String,String> content)
|
void |
broadcast(org.kie.commons.message.MessageType type,
Map<String,String> content,
int timeOut,
org.kie.commons.message.AsyncCallback callback)
|
void |
broadcastAndWait(org.kie.commons.message.MessageType type,
Map<String,String> content,
int timeOut)
|
void |
broadcastAndWait(org.kie.commons.message.MessageType type,
Map<String,String> content,
int timeOut,
org.kie.commons.message.AsyncCallback callback)
|
void |
dispose()
|
void |
lock()
|
void |
sendTo(String resourceId,
org.kie.commons.message.MessageType type,
Map<String,String> content)
|
void |
unlock()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterServiceHelix
public ClusterServiceHelix(String clusterName,
String zkAddress,
String instanceName,
String resourceName,
org.kie.commons.message.MessageHandlerResolver messageHandlerResolver)
dispose
public void dispose()
- Specified by:
dispose in interface org.kie.commons.cluster.ClusterService
lock
public void lock()
- Specified by:
lock in interface org.kie.commons.lock.LockService
unlock
public void unlock()
- Specified by:
unlock in interface org.kie.commons.lock.LockService
broadcastAndWait
public void broadcastAndWait(org.kie.commons.message.MessageType type,
Map<String,String> content,
int timeOut)
- Specified by:
broadcastAndWait in interface org.kie.commons.message.MessageService
broadcastAndWait
public void broadcastAndWait(org.kie.commons.message.MessageType type,
Map<String,String> content,
int timeOut,
org.kie.commons.message.AsyncCallback callback)
- Specified by:
broadcastAndWait in interface org.kie.commons.message.MessageService
broadcast
public void broadcast(org.kie.commons.message.MessageType type,
Map<String,String> content)
- Specified by:
broadcast in interface org.kie.commons.message.MessageService
broadcast
public void broadcast(org.kie.commons.message.MessageType type,
Map<String,String> content,
int timeOut,
org.kie.commons.message.AsyncCallback callback)
- Specified by:
broadcast in interface org.kie.commons.message.MessageService
sendTo
public void sendTo(String resourceId,
org.kie.commons.message.MessageType type,
Map<String,String> content)
- Specified by:
sendTo in interface org.kie.commons.message.MessageService
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.