org.ontobox.fast.box
Class FastBox

java.lang.Object
  extended by org.ontobox.box.base.BaseBox
      extended by org.ontobox.fast.box.FastBox
All Implemented Interfaces:
Box

public class FastBox
extends BaseBox

Author:
Anton Malykh

Field Summary
 
Fields inherited from interface org.ontobox.box.Box
DMAP_TYPE, LEGACY_NAME, MAX_CARD, MIN_CARD, ONTOBOX_URI
 
Constructor Summary
FastBox()
           
FastBox(java.io.File dir)
           
FastBox(java.io.File dir, boolean useCard)
           
 
Method Summary
 void close()
          Close ontobox.
 BoxListenerManager getListenerManager()
          Get listener manager
 BoxWorker work()
          Open new worker (write mode).
 BoxWorker workAutocommit()
          Open new worker (write autocommit mode).
 BoxWorker workRO()
          Open new worker (read-only mode);
 
Methods inherited from class org.ontobox.box.base.BaseBox
client, clientRO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastBox

public FastBox()

FastBox

public FastBox(java.io.File dir)

FastBox

public FastBox(java.io.File dir,
               boolean useCard)
Method Detail

workRO

public BoxWorker workRO()
Description copied from interface: Box
Open new worker (read-only mode);

Returns:
read-only worker

work

public BoxWorker work()
Description copied from interface: Box
Open new worker (write mode).

Returns:
worker

workAutocommit

public BoxWorker workAutocommit()
Description copied from interface: Box
Open new worker (write autocommit mode).

Returns:
worker

close

public void close()
Description copied from interface: Box
Close ontobox.


getListenerManager

public BoxListenerManager getListenerManager()
Description copied from interface: Box
Get listener manager

Returns:
listener manager