org.vrspace.neurogrid
Class SerialFileStore
java.lang.Object
org.vrspace.neurogrid.SerialFileStore
- All Implemented Interfaces:
- Store
- public class SerialFileStore
- extends java.lang.Object
- implements Store
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dirPrefix
public java.lang.String dirPrefix
db
protected DBAdapter db
SerialFileStore
public SerialFileStore()
store
public void store(NGObject obj)
- Specified by:
store in interface Store
retrieve
public NGObject retrieve(java.lang.Class what,
long id)
- Specified by:
retrieve in interface Store
init
public void init(DBAdapter db,
LoadListener listener)
- Specified by:
init in interface Store
delete
public void delete(NGObject obj)
throws java.lang.Exception
- Specified by:
delete in interface Store
- Throws:
java.lang.Exception
count
public long count()
throws java.lang.Exception
- Specified by:
count in interface Store
- Throws:
java.lang.Exception