pl.edu.pjwstk.yaod.store.defaultstore.transientstore
Class TransientStore
java.lang.Object
|
+--pl.edu.pjwstk.yaod.store.AbstractStore
|
+--pl.edu.pjwstk.yaod.store.defaultstore.transientstore.TransientStore
- public class TransientStore
- extends AbstractStore
- Author:
- M. Lentner, raist@ertel.com.pl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransientStore
public TransientStore(short id,
java.lang.String ctlPath,
DatabaseManager manager)
throws java.lang.Exception
readControlFile
public void readControlFile()
throws java.lang.Exception
writeControlFile
public void writeControlFile()
throws java.lang.Exception
open
public void open()
throws java.io.FileNotFoundException
- Description copied from class:
AbstractStore
- Otwiera sklad.
- Overrides:
open
in class AbstractStore
- Following copied from class:
pl.edu.pjwstk.yaod.store.AbstractStore
- Throws:
java.io.FileNotFoundException
- nie mozna otworzyc skladu.
initialize
public void initialize()
throws java.lang.Exception
- Description copied from class:
AbstractStore
- Inicjalizuje sklad (np. sformatowanie plikow danych).
- Overrides:
initialize
in class AbstractStore
- Following copied from class:
pl.edu.pjwstk.yaod.store.AbstractStore
- Throws:
java.lang.Exception
- blad inicjalizacji.
close
public void close()
throws java.io.IOException
- Description copied from class:
AbstractStore
- Zamyka sklad.
- Overrides:
close
in class AbstractStore
- Following copied from class:
pl.edu.pjwstk.yaod.store.AbstractStore
- Throws:
java.io.IOException
- blad przy zamykaniu skladu.
setEntry
public void setEntry(AtomID entry)
- Description copied from class:
AbstractStore
- Ustala identyfikator obiektu wejsciowego do skladu.
- Overrides:
setEntry
in class AbstractStore
- Following copied from class:
pl.edu.pjwstk.yaod.store.AbstractStore
- Parameters:
entry
- ustala identyfikator atomu wejsciowego.
getEntry
public AtomID getEntry()
- Description copied from class:
AbstractStore
- Zwraca identyfikator atomu wejsciowego do skladu.
- Overrides:
getEntry
in class AbstractStore
- Following copied from class:
pl.edu.pjwstk.yaod.store.AbstractStore
- Returns:
- identyfikator atomu wejsciowego.
createClient
public Wrappable createClient()
- Description copied from class:
AbstractStore
- Tworzy obiekt oslony przekazywany do procesu SVRP.
- Overrides:
createClient
in class AbstractStore
- Following copied from class:
pl.edu.pjwstk.yaod.store.AbstractStore
- Returns:
- utworzona oslona.
getStoreDescriptor
public TransientStoreDescriptor getStoreDescriptor()
getBlockSize
public short getBlockSize()