java.lang.Object
io.ebeaninternal.server.cache.RemoteCacheEvent
- All Implemented Interfaces:
BinaryWritable
Cache events broadcast across the cluster.
-
Field Summary
Fields inherited from interface io.ebeaninternal.api.BinaryWritable
TYPE_BEANIUD, TYPE_CACHE, TYPE_TABLEIUD, TYPE_TABLEMOD -
Constructor Summary
ConstructorsConstructorDescriptionRemoteCacheEvent(boolean clearAll) Clear all the caches.RemoteCacheEvent(boolean clearAll, List<String> beanTypes) Create with the read options.RemoteCacheEvent(Class<?> beanType) Clear caches for the given bean type. -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RemoteCacheEventreadBinaryMessage(BinaryReadContext dataInput) toString()voidWrite message in binary format.
-
Constructor Details
-
RemoteCacheEvent
public RemoteCacheEvent(boolean clearAll) Clear all the caches. -
RemoteCacheEvent
Clear caches for the given bean type. -
RemoteCacheEvent
Create with the read options.
-
-
Method Details
-
isClearAll
public boolean isClearAll() -
getClearCaches
-
toString
-
readBinaryMessage
- Throws:
IOException
-
writeBinary
Description copied from interface:BinaryWritableWrite message in binary format.- Specified by:
writeBinaryin interfaceBinaryWritable- Throws:
IOException
-