Package org.nuxeo.ecm.core.cache
Class CacheServiceImpl.AbstractCachePubSubInvalidator
java.lang.Object
org.nuxeo.runtime.pubsub.AbstractPubSubBroker<CacheServiceImpl.CacheInvalidation>
org.nuxeo.ecm.core.cache.CacheServiceImpl.AbstractCachePubSubInvalidator
- Direct Known Subclasses:
CacheServiceImpl.CachePubSubInvalidator
- Enclosing class:
CacheServiceImpl
public abstract static class CacheServiceImpl.AbstractCachePubSubInvalidator
extends AbstractPubSubBroker<CacheServiceImpl.CacheInvalidation>
-
Field Summary
FieldsFields inherited from class org.nuxeo.runtime.pubsub.AbstractPubSubBroker
DISCRIMINATOR_SEP, discriminatorBytes, topic -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeserializes anInputStreaminto a message, ornull.protected abstract CachevoidreceivedMessage(CacheServiceImpl.CacheInvalidation invalidation) Callback implementing the delivery of a message from another node.voidsendInvalidation(String cacheName, String key) voidsendInvalidationsAll(String cacheName) Methods inherited from class org.nuxeo.runtime.pubsub.AbstractPubSubBroker
close, initialize, scanDiscriminator, sendMessage, subscriber
-
Field Details
-
ALL_KEYS
- See Also:
-
-
Constructor Details
-
AbstractCachePubSubInvalidator
public AbstractCachePubSubInvalidator()
-
-
Method Details
-
deserialize
Description copied from class:AbstractPubSubBrokerDeserializes anInputStreaminto a message, ornull.- Specified by:
deserializein classAbstractPubSubBroker<CacheServiceImpl.CacheInvalidation>- Throws:
IOException
-
sendInvalidation
-
sendInvalidationsAll
-
receivedMessage
Description copied from class:AbstractPubSubBrokerCallback implementing the delivery of a message from another node.- Specified by:
receivedMessagein classAbstractPubSubBroker<CacheServiceImpl.CacheInvalidation>- Parameters:
invalidation- the received message
-
getCache
-