org.openrdf.sail.rdbms.managers.base
Class ManagerBase

java.lang.Object
  extended by org.openrdf.sail.rdbms.managers.base.ManagerBase
Direct Known Subclasses:
HashManager, TripleManager, ValueManagerBase

public abstract class ManagerBase
extends Object


Field Summary
static int BATCH_SIZE
           
static int MAX_QUEUE
           
static int MIN_QUEUE
           
 BlockingQueue<Batch> queue
           
 
Constructor Summary
ManagerBase()
           
 
Method Summary
 void clear()
           
 void close()
           
 void flush()
           
protected  void flush(Batch batch)
           
 BlockingQueue<Batch> getQueue()
           
protected  void optimize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BATCH_SIZE

public static int BATCH_SIZE

MIN_QUEUE

public static int MIN_QUEUE

MAX_QUEUE

public static int MAX_QUEUE

queue

public final BlockingQueue<Batch> queue
Constructor Detail

ManagerBase

public ManagerBase()
Method Detail

getQueue

public BlockingQueue<Batch> getQueue()

close

public void close()
           throws SQLException
Throws:
SQLException

flush

public void flush()
           throws SQLException,
                  InterruptedException
Throws:
SQLException
InterruptedException

clear

public void clear()

optimize

protected void optimize()
                 throws SQLException
Throws:
SQLException

flush

protected void flush(Batch batch)
              throws SQLException
Throws:
SQLException


Copyright © 2001-2008 Aduna. All Rights Reserved.