|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.sailimpl.rdbms.OptimizeThread
| Method Summary | |
void |
forceBreak()
forces the loop breaking of the current OptimizeThread. so all the ables to be optimized |
static void |
onShutDown()
onShutDown() - break the waiting loop of the currently active OptimizeThread instance and force it to optimize the collected tables. |
static void |
optimizeTable(RdfSchemaRepository sail,
String table)
The entry point of the OptimizeThread class. if there is no pending optimization this method create a OptimizeThread instance and adds the table name to it. |
void |
run()
run() - wait minutes*60 x timeunits ms before commiting the table optimization |
static void |
setTimeout(int minutes)
Changes the number of time units that the OptimizeThread should wait before actual optimization is performed. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static void onShutDown()
public static void setTimeout(int minutes)
minutes - - number of units x 60 to wait
public static void optimizeTable(RdfSchemaRepository sail,
String table)
sail - - sail from which the request is madetable - - the name of the table to optimizepublic void run()
run in interface Runnablepublic void forceBreak()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||