public interface PublisherContext
NonStopPublisherAccumulator
and
BatchPublisherAccumulator
.Modifier and Type | Method and Description |
---|---|
void |
flush()
Flushes this publisher context.
|
AccumulatorInfoSupplier |
getAccumulatorInfoSupplier()
Returns
AccumulatorInfoSupplier for this context. |
QueryCacheContext |
getContext()
Returns
QueryCacheContext on this node. |
IFunction<String,String> |
getListenerRegistrator()
Returns a helper function in order to register listener to
IMap |
MapListenerRegistry |
getMapListenerRegistry()
Returns
MapListenerRegistry for this context. |
MapPublisherRegistry |
getMapPublisherRegistry()
Returns
MapPublisherRegistry for this context. |
NodeEngine |
getNodeEngine()
Returns underlying
NodeEngine for this node. |
void |
handleConnectedSubscriber(String uuid)
Handles a reconnected subscriber.
|
void |
handleDisconnectedSubscriber(String uuid)
Handles a disconnected subscriber.
|
AccumulatorInfoSupplier getAccumulatorInfoSupplier()
AccumulatorInfoSupplier
for this context.AccumulatorInfoSupplier
for this context.AccumulatorInfoSupplier
MapPublisherRegistry getMapPublisherRegistry()
MapPublisherRegistry
for this context.MapPublisherRegistry
for this context.MapPublisherRegistry
MapListenerRegistry getMapListenerRegistry()
MapListenerRegistry
for this context.MapListenerRegistry
for this context.MapListenerRegistry
IFunction<String,String> getListenerRegistrator()
IMap
IMap
QueryCacheContext getContext()
QueryCacheContext
on this node.QueryCacheContext
on this node.NodeEngine getNodeEngine()
NodeEngine
for this node.NodeEngine
for this node.void handleDisconnectedSubscriber(String uuid)
QueryCache
resources.uuid
- client or node UUID of subscriber.void handleConnectedSubscriber(String uuid)
#handleDisconnectedSubscriber
.uuid
- client or node UUID of subscriber.handleDisconnectedSubscriber(java.lang.String)
void flush()
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.