Namespace Alachisoft.NCache.Runtime.Caching
Classes
CacheItemAttributes
CacheItemAttributes contains the information about the cache attributes.
Expiration
Class that provides values to specify expiration of items in cache.
Message
A message contains the actual data object which is sent by the publisher and delivered to the interested subscribers for the topic.
MessageEventArgs
Arguments containing details of received message including topic, sender and type.
MessageFailedEventArgs
Arguments containing message failure information.
NamedTagsDictionary
Represents a dictionary that can be associated with the cache items to provide extra information so that items are grouped together and can be queried efficiently based on the provided information.
ProviderCacheItem
ProviderCacheItem is just like a CacheItem , but it has some limited fields
ProviderDataTypeItem<TValue>
ProviderDataTypeItem is just like a CacheItem , but it has some limited fields
ProviderItemBase
ProviderCacheItem is just like a CacheItem , but it has some limited fields
ReadThruOptions
Class that defines the fetch operation on cache can read from data source if item not found.
ResyncOptions
Tag
Represents a string based identifier that can be associated with the cache items so that they are logically grouped together and can be retrieved efficiently.
TopicDeleteEventArgs
Arguments containing deleted topic information
WriteBehindOpResult
Result of data source operation
WriteThruOptions
Class that defines write-through options regarding updating the data source.
Interfaces
IDurableTopicSubscription
Contains information about the subscribtion created
IMessage
A message contains the actual data object which is sent by the publisher and delivered to the interested subscribers for the topic. NCache provides the Message class which implements the IMessage interface to create a message.
ITopic
The ITopic interface facilitates creating subscription and publishing of messages against the topic. This also provides event registrations for message delivery failure, receiving messages and deleting topics.
ITopicSubscription
NCache provides ITopicSubscription interface which is returned against the desired topic, containing information for topic subscriptions.
Enums
ConnectivityStatus
Represents client connectivity status.
DeliveryMode
DeliveryOption
NCache provides a DeliveryOption enum which specifies how the message should be delivered to any registered subscribers. The delivery option is specified during message publishing phase. It contains the following options:
ExpirationType
The type of expiration to be used while expiring items in cache. The value of this type varies from item to item in cache.
MessageFailureReason
The reason for failed message delivery.
ReadMode
Enumeration that defines the read mode if item is not found in cache.
SubscriptionPolicy
Defines the policy used in case of Durable subscription.
WriteBehindOpStatus
Enumeration that defines the staus of write behind operation.
WriteMode
Enumeration that defines the update operation on cache can update data source.
Delegates
CacheClientConnectivityChangedCallback
Defines a callback method for notifying the application about the status of cache client connectivity.
DataSourceModifiedCallBack
Defines a callback method for notifying applications when data source is modified.
MessageDeliveryFailureCallback
Delivery failure notification is raised to any publisher which has registered message failure event on that topic.
MessageReceivedCallback
Callback for receiving messages in application.
TopicDeletedCallback
In case a topic is deleted, it is a forceful deletion and deletes all messages and related meta-info form the cache. Hence, the subscriber and publisher must be notified of this deletion through TopicDeleteCallback method for notifying application about topic deletion.