|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.entry.AbstractTopicMapReference net.ontopia.topicmaps.impl.rdbms.RDBMSTopicMapReference
public class RDBMSTopicMapReference
INTERNAL: RDBMS database topic map reference.
Field Summary | |
---|---|
protected LocatorIF |
base_address
|
static java.lang.String |
EXHAUSED_BLOCK
|
static java.lang.String |
EXHAUSED_FAIL
|
static java.lang.String |
EXHAUSED_GROW
|
protected StorePoolableObjectFactory |
ofactory
|
protected org.apache.commons.pool.impl.GenericObjectPool |
pool
|
protected RDBMSTopicMapStore |
rostore
|
protected StorageIF |
storage
|
protected long |
topicmap_id
|
Fields inherited from class net.ontopia.topicmaps.entry.AbstractTopicMapReference |
---|
deleted, id, isopen, listeners, source, title, topic_listeners |
Constructor Summary | |
---|---|
RDBMSTopicMapReference(java.lang.String _id,
java.lang.String _title,
StorageIF _storage,
long _topicmap_id,
LocatorIF _base_address)
|
Method Summary | |
---|---|
protected RDBMSTopicMapStore |
_createStore(boolean readonly)
|
void |
clear()
EXPERIMENTAL: Closes all open stores and clears the topic map by removing all data. |
void |
close()
PUBLIC: Closes all open stores and the reference itself. |
TopicMapStoreIF |
createStore(boolean readonly)
PUBLIC: Creates a topic map store that lets you access the referenced topic map. |
void |
delete()
PUBLIC: Closes all open stores and deletes the topic map. |
long |
getTopicMapId()
|
protected void |
init()
|
void |
open()
PUBLIC: Opens the reference. |
void |
storeClosed(TopicMapStoreIF store)
INTERNAL: Callback from the specified TopicMapStoreIF after it has been closed. |
java.lang.String |
toString()
|
void |
writeReport(java.io.Writer out,
boolean dumpCaches)
|
Methods inherited from class net.ontopia.topicmaps.entry.AbstractTopicMapReference |
---|
addTopicListener, getId, getSource, getTitle, getTopicListeners, isDeleted, isOpen, makeListenerArray, registerTopicListeners, removeTopicListener, setId, setSource, setTitle, setTopicListeners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String EXHAUSED_BLOCK
public static final java.lang.String EXHAUSED_GROW
public static final java.lang.String EXHAUSED_FAIL
protected StorageIF storage
protected long topicmap_id
protected LocatorIF base_address
protected StorePoolableObjectFactory ofactory
protected org.apache.commons.pool.impl.GenericObjectPool pool
protected RDBMSTopicMapStore rostore
Constructor Detail |
---|
public RDBMSTopicMapReference(java.lang.String _id, java.lang.String _title, StorageIF _storage, long _topicmap_id, LocatorIF _base_address)
Method Detail |
---|
protected RDBMSTopicMapStore _createStore(boolean readonly)
protected void init()
public void open()
TopicMapReferenceIF
open
in interface TopicMapReferenceIF
open
in class AbstractTopicMapReference
public TopicMapStoreIF createStore(boolean readonly)
TopicMapReferenceIF
createStore
in interface TopicMapReferenceIF
createStore
in class AbstractTopicMapReference
public void close()
TopicMapReferenceIF
close
in interface TopicMapReferenceIF
close
in class AbstractTopicMapReference
public void clear()
TopicMapReferenceIF
clear
in interface TopicMapReferenceIF
clear
in class AbstractTopicMapReference
public void delete()
TopicMapReferenceIF
delete
in interface TopicMapReferenceIF
delete
in class AbstractTopicMapReference
public java.lang.String toString()
toString
in class java.lang.Object
public long getTopicMapId()
public void storeClosed(TopicMapStoreIF store)
TopicMapReferenceIF
storeClosed
in interface TopicMapReferenceIF
storeClosed
in class AbstractTopicMapReference
public void writeReport(java.io.Writer out, boolean dumpCaches) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |