public interface EventCacheReference extends EndpointReference
Title: Service Event Fabric Core
Description: Defines an Event Cache
reference.
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventFilter()
Returns the event filter associated with the cache.
|
java.util.List |
getEvents()
Returns a list of all events contained in the cache.
|
int |
getMaxSize()
Returns the max size of the cache (the maximum number of events which the cache can contain).
|
java.lang.String |
getName()
Return a name of the event cache (event filter is used as a name).
|
int |
getSize()
Returns the current size of the cache (i.e.
|
CacheThresholdAction |
getThresholdAction()
Returns a type of the action that is performed if the cache is overflowed.
|
getAddress
getComponentAddress, getEventScope, getExchangeRole
java.lang.String getName()
getName
in interface NamedObject
java.lang.String getEventFilter()
int getMaxSize()
CacheThresholdAction getThresholdAction()
int getSize() throws FabricExchangeException
This operation can throw an exception only if the cache is located at the remote node.
FabricExchangeException
- if some error occurs in the Exchange.java.util.List getEvents() throws FabricExchangeException
This operation can throw an exception only if the cache is located at the remote node.
FabricExchangeException
- if some error occurs in the Exchange.Copyright © 2015-2024 StreamScape Technologies. All rights reserved.