Namespace Alachisoft.NCache.Web.Caching
Classes
Cache
Implements the clustered cache for an application
CacheCollection
Represents a collection of the caches initialized within the same application domain.
CacheEventArg
This object is recieved when an even is raised and delegate CacheDataNotificationCallback is executed CacheEventArg contains necessary information to identify the event and perform necessary actions accordingly. It inherits EventArg which is also a parent of CQEventArg This class is consistent for both selective and general events
CacheEventDescriptor
Instance of this class holds the link to the registered delegate Keep it safe and use it to unregister the registered delegate when required. The bool IsRegistered returns false when the discriptor has been consumed to unregister the delegate. Then this instance can then be disposed of. Upon re-registering for the interested event, a new discriptor will be created.
CacheInitParams
CacheItem
Class that represents a cached item including its dependencies, expiration and eviction information
CacheItemVersion
Represents the version of each cahce item. An instance of this class is used in the optimistic concurrency model to ensure the data integrity.
CacheServerInfo
Holds the set of parameters that control the initialization behavior of the cache.
CacheStream
CacheStream is derived from System.IO.Stream. It is designed to put/fetch BLOB using standard Stream interface.
CacheSyncDependency
A client application can have more than one cache instances initialized. CacheSyncDependency keeps the items present in one cache synchronized with the items present in another cache.
ClientCache
This class cannot be inherited.
ContinuousQuery
Class to hold Object query and values, intended for notifications.
CQEventArg
This object is recieved when an even is raised and delegate QueryDataNotificationCallback is executed CQEventArg contains necessary information to identify the event and perform necessary actions accordingly. It inherits EventArg which is also a parent of CacheEventArg
DisconnectedClientCache
This class cannot be inherited.
EventArg
Parent of CQEventArg and CacheEventArg Contains the necessary information related to the event being raised
EventCacheItem
This is a stripped down version of CacheItem
Contains basic information of an item present in the cache
Will be provided in QueryDataNotificationCallback or CacheItemRemovedCallback
but only when the event is registered against
LockHandle
An instance of this class is used to lock and unlock the cache items in pessimistic concurrency model.
NCache
Provides static methods and properties to aid with clustered cache initialization and access. This class cannot be inherited.
PollEventDiscriptor
TargetMethodAttribute
Interfaces
ICacheReader
Reads one or more than forward-only stream of result sets by executing OQ commands on cache source.
IMessagingService
This interface contains properties and methods required for a Messaging Service. It is implemented by MessagingService.
Enums
CacheItemRemovedReason
Specifies the reason an item was removed from the Cache.
CacheMode
Specifies the startup mode (also known as isolation level) of Cache.
ClientCacheSyncMode
Gets/Sets Enumeration to specify how the Client cache is synchronized with the cluster caches through events.
DataSourceOpResult
Result of data source operation
DSReadOption
Enumeration that defines the fetch operation on cache can read from data soure if item not found
DSWriteOption
Enumeration that defines the update operation on cache can update data source
QueryMode
StreamMode
Specifies the modes of CacehStream.
Delegates
AsyncCacheClearedCallback
Defines a callback method for notifying applications when a request
for asynchronous cache clear operation completes.
AsyncItemAddedCallback
Defines a callback method for notifying applications after a request for asynchronous add operation completes.
AsyncItemRemovedCallback
Defines a callback method for notifying applications when a request for asynchronous remove operation completes.
AsyncItemUpdatedCallback
Defines a callback method for notifying applications when a request for asynchronous insert operation completes.
CacheClearedCallback
Defines a callback method for notifying applications when the Cache is cleared.
CacheDataNotificationCallback
CacheItemAddedCallback
Defines a callback method for notifying applications when an item is added to the Cache.
CacheItemRemovedCallback
Defines a callback method for notifying applications when a cached item is removed from the Cache.
CacheItemUpdatedCallback
Defines a callback method for notifying applications when an item is updated in the Cache.
CacheStoppedCallback
Defines a callback method for notifying applications when the Cache is stopped.
ContinuousQueryClearCallback
Defines a callback method for notifying application when Continuous Query result set is cleared.
ContinuousQueryItemAddedCallback
Defines a callback method for notifying application when item is added to the Continuous Query result.
ContinuousQueryItemRemovedCallback
Defines a callback method for notifying application when item is removed from the Continuous Query result.
ContinuousQueryItemUpdatedCallback
Defines a callback method for notifying application when item is updated in the Continuous Query result.
CustomEventCallback
Defines a callback method for custom application defined events.
DataSourceClearedCallback
Defines a callback method for notifying application when data source is cleared.
DataSourceItemsAddedCallback
Defines a callback method for notifying application when an item or items are added in data source.
DataSourceItemsRemovedCallback
Defines a callback method for notifying application when an item or items are removed from data source.
DataSourceItemsUpdatedCallback
Defines a callback method for notifying application when an item or items are updated in data source.
MemberJoinedCallback
Defines a callback method for notifying applications when an item is updated in the Cache.
MemberLeftCallback
Defines a callback method for notifying applications when a node leaves the cluster.
PollNotificationCallback
QueryDataNotificationCallback
Defines a callback method for notifying application when an item is added, updated or removed from the Continuous Query result.