public class TemplateScanner extends Object
Constructor and Description |
---|
TemplateScanner(SpaceTypeManager typeManager,
CacheManager cacheManager,
SpaceDataEventManager dataEventManager,
SpaceEngine engine) |
Modifier and Type | Method and Description |
---|---|
RegexCache |
getRegexCache() |
boolean |
match(Context context,
IEntryHolder entry,
ITemplateHolder template) |
boolean |
match(Context context,
IEntryHolder entry,
ITemplateHolder template,
int skipAlreadyMatchedFixedPropertyIndex,
String skipAlreadyMatchedIndexPath,
boolean safeEntry)
Checks if the specified template matches the specified entry.
|
boolean |
notifyMatch(Context context,
IEntryHolder entry,
ITemplateHolder template) |
void |
scanNonNotifyTemplates(Context context,
IEntryHolder entry,
ServerTransaction txn,
FifoSearch fifoSearch)
Search for templates that match the specified entry and perform each such template.
|
void |
scanNonNotifyTemplates(Context context,
IEntryHolder entry,
ServerTransaction txn,
FifoSearch fifoSearch,
FifoGroupsSearch fifoGroupsSearch)
Search for templates that match the specified entry and perform each such template.
|
void |
scanNotifyTemplates(NotifyContextsHolder notifyContextsHolder,
Context context,
ServerTransaction txn,
FifoSearch fifoSearch) |
public TemplateScanner(SpaceTypeManager typeManager, CacheManager cacheManager, SpaceDataEventManager dataEventManager, SpaceEngine engine)
public RegexCache getRegexCache()
public void scanNonNotifyTemplates(Context context, IEntryHolder entry, ServerTransaction txn, FifoSearch fifoSearch) throws EntryDeletedException, SAException
EntryDeletedException
SAException
public void scanNonNotifyTemplates(Context context, IEntryHolder entry, ServerTransaction txn, FifoSearch fifoSearch, FifoGroupsSearch fifoGroupsSearch) throws EntryDeletedException, SAException
EntryDeletedException
SAException
public void scanNotifyTemplates(NotifyContextsHolder notifyContextsHolder, Context context, ServerTransaction txn, FifoSearch fifoSearch) throws EntryDeletedException, SAException
EntryDeletedException
SAException
public boolean match(Context context, IEntryHolder entry, ITemplateHolder template, int skipAlreadyMatchedFixedPropertyIndex, String skipAlreadyMatchedIndexPath, boolean safeEntry)
entry
- the entry to checktemplate
- the template to checkskipIndex
- if != -1, the method assumes the template field at skipIndex matches the
entry field at skipIndex, and hence does not check this index.public boolean match(Context context, IEntryHolder entry, ITemplateHolder template)
public boolean notifyMatch(Context context, IEntryHolder entry, ITemplateHolder template)
Copyright © GigaSpaces.