|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.applicationblocks.com.cache.ConfCacheFilter
public final class ConfCacheFilter
A filter for ConfCacheEvents. Note that the filter properties are evaluated using the "and" operator. For example, if ObjectDbid and ObjectType are set, events regarding objects with the specified dbid AND the specified type will be sent to the subscriber.
Constructor Summary | |
---|---|
ConfCacheFilter()
|
Method Summary | |
---|---|
int |
getObjectDbid()
The dbid of the object regarding which events are to be sent to the subscriber. |
CfgObjectType |
getObjectType()
The type of object regarding which events are to be sent to the subscriber. |
ConfCacheUpdateType |
getUpdateType()
The type of update regarding which events are to be sent to the subscriber. |
boolean |
invoke(ConfCacheEvent cacheEvent)
Evaluate filter's condition on truth or false. |
void |
setObjectDbid(int value)
The dbid of the object regarding which events are to be sent to the subscriber. |
void |
setObjectType(CfgObjectType value)
The type of object regarding which events are to be sent to the subscriber. |
void |
setUpdateType(ConfCacheUpdateType value)
The type of update regarding which events are to be sent to the subscriber. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfCacheFilter()
Method Detail |
---|
public int getObjectDbid()
public void setObjectDbid(int value)
value
- dbid filter value or -1public CfgObjectType getObjectType()
public void setObjectType(CfgObjectType value)
value
- object type filter valuepublic ConfCacheUpdateType getUpdateType()
public void setUpdateType(ConfCacheUpdateType value)
value
- cache event typepublic boolean invoke(ConfCacheEvent cacheEvent)
invoke
in interface Predicate<ConfCacheEvent>
cacheEvent
- event instance to be used for checking the filter condition
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |