public class SubjectIdentityCache extends AbstractSubjectIdentityCache
AbstractSubjectIdentityCache.EventHandler| Modifier and Type | Field and Description |
|---|---|
protected TransactionIF |
ptxn |
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> |
source_locators |
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> |
subject_indicators |
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> |
subjects |
protected TopicMapTransactionIF |
txn |
handlers| Constructor and Description |
|---|
SubjectIdentityCache(TopicMapTransactionIF txn,
CollectionFactoryIF cfactory) |
processEvent, registerListeners, registerObject, unregisterObjectprotected TopicMapTransactionIF txn
protected TransactionIF ptxn
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> source_locators
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> subject_indicators
protected TransactionalLookupIndexIF<LocatorIF,IdentityIF> subjects
public SubjectIdentityCache(TopicMapTransactionIF txn, CollectionFactoryIF cfactory)
public void initialize()
public void commit()
public void abort()
public TMObjectIF getObjectById(String object_id)
getObjectById in class AbstractSubjectIdentityCachepublic TMObjectIF getObjectByItemIdentifier(LocatorIF locator)
getObjectByItemIdentifier in class AbstractSubjectIdentityCachepublic TopicIF getTopicBySubjectLocator(LocatorIF locator)
getTopicBySubjectLocator in class AbstractSubjectIdentityCachepublic TopicIF getTopicBySubjectIdentifier(LocatorIF locator)
getTopicBySubjectIdentifier in class AbstractSubjectIdentityCacheprotected TMObjectIF _getObjectByItemIdentifier(LocatorIF source_locator)
_getObjectByItemIdentifier in class AbstractSubjectIdentityCacheprotected void registerSourceLocator(LocatorIF source_locator, TMObjectIF object)
registerSourceLocator in class AbstractSubjectIdentityCacheprotected void unregisterSourceLocator(LocatorIF source_locator)
unregisterSourceLocator in class AbstractSubjectIdentityCacheprotected TopicIF _getTopicBySubjectIdentifier(LocatorIF subject_indicator)
_getTopicBySubjectIdentifier in class AbstractSubjectIdentityCacheprotected void registerSubjectIndicator(LocatorIF subject_indicator, TopicIF object)
registerSubjectIndicator in class AbstractSubjectIdentityCacheprotected void unregisterSubjectIndicator(LocatorIF subject_indicator)
unregisterSubjectIndicator in class AbstractSubjectIdentityCacheprotected TopicIF _getTopicBySubjectLocator(LocatorIF subject)
_getTopicBySubjectLocator in class AbstractSubjectIdentityCacheprotected void registerSubject(LocatorIF subject, TopicIF object)
registerSubject in class AbstractSubjectIdentityCacheprotected void unregisterSubject(LocatorIF subject)
unregisterSubject in class AbstractSubjectIdentityCache