ISpaceFilterEntry interface

An ISpaceFilterEntry represents an object in the context of a filter operation, and allows you to interact with it.

This interface consists of 2 methods and 2 properties.

public interface ISpaceFilterEntry
{
  // Gets the object type
  Type ObjectType { get; }
  
  // Gets the object itself
  object GetObject();
  
  // Update the object contained within this entry state
  void UpdateObject(object obj);
  
  // Gets the notify type (relevant for Notification filter operations)
  DataEventType NotifyType { get; }
}

When using the ISpaceFilterEntry, performance issues should be taken into consideration. This interface is designed to be used in a lazy evaluation fashion. GetObject and UpdateObject are evaluated only when called, and they reduce performance. Therefore they should only be used when necessary.

For a full SpaceFilter implementation and usage demo, visit the Space Filter Demo section.

GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence