Package org.uberfire.commons.cluster
Interface ClusterService
-
- All Known Implementing Classes:
ClusterJMSService
public interface ClusterService
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classClusterService.DestinationType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbroadcast(ClusterService.DestinationType type, String channel, Serializable object)voidclose()voidconnect()<T> voidcreateConsumer(ClusterService.DestinationType type, String channel, Class<T> clazz, Consumer<T> listener)booleanisAppFormerClustered()
-
-
-
Method Detail
-
connect
void connect()
-
createConsumer
<T> void createConsumer(ClusterService.DestinationType type, String channel, Class<T> clazz, Consumer<T> listener)
-
broadcast
void broadcast(ClusterService.DestinationType type, String channel, Serializable object)
-
isAppFormerClustered
boolean isAppFormerClustered()
-
close
void close()
-
-