net.ontopia.topicmaps.impl.basic
Class InMemoryTopicMapStore
java.lang.Object
net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore
net.ontopia.topicmaps.impl.basic.InMemoryTopicMapStore
- All Implemented Interfaces:
- TopicMapStoreIF
- Direct Known Subclasses:
- RemoteTopicMapStore
public class InMemoryTopicMapStore
- extends AbstractTopicMapStore
PUBLIC: The in-memory TopicMapStoreIF implementation.
Methods inherited from class net.ontopia.topicmaps.impl.utils.AbstractTopicMapStore |
abort, commit, delete, getBaseAddress, getReference, getTopicMap, isOpen, isReadOnly, open, setReadOnly, setReference, setTopicListeners, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transaction
protected TopicMapTransactionIF transaction
maintainFulltextIndex
protected boolean maintainFulltextIndex
InMemoryTopicMapStore
public InMemoryTopicMapStore()
getImplementation
public int getImplementation()
- Description copied from interface:
TopicMapStoreIF
- PUBLIC: Returns the topic map implementation identifier.
- Returns:
TopicMapStoreIF.IN_MEMORY_IMPLEMENTATION
or TopicMapStoreIF.RDBMS_IMPLEMENTATION
flags.
isTransactional
public boolean isTransactional()
- Description copied from interface:
TopicMapStoreIF
- PUBLIC: Returns true if the store supports transactions.
- Returns:
- Boolean: true if transactional, false if not.
getTransaction
public TopicMapTransactionIF getTransaction()
- Specified by:
getTransaction
in class AbstractTopicMapStore
setBaseAddress
public void setBaseAddress(LocatorIF base_address)
- Description copied from interface:
TopicMapStoreIF
- EXPERIMENTAL: Sets the persistent base address of the store.
close
public void close()
- Description copied from interface:
TopicMapStoreIF
- PUBLIC: Closes the store and aborts the transaction if active.
close
public void close(boolean returnStore)
- Specified by:
close
in class AbstractTopicMapStore
getProperty
public java.lang.String getProperty(java.lang.String propertyName)
- Description copied from interface:
TopicMapStoreIF
- PUBLIC: Returns the value of the specified topic map store
property.
getEventManager
public EventManagerIF getEventManager()
- Specified by:
getEventManager
in class AbstractTopicMapStore
Copyright © 2000-2012 Ontopia.