|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.db.TransactionPipeline
public class TransactionPipeline
Asynchronous Saver.
| Constructor Summary | |
|---|---|
TransactionPipeline()
Get a transaction pipeline with no specific name. |
|
TransactionPipeline(java.lang.ThreadGroup tg,
java.lang.String name)
Get an instance of TransactionPipeline. |
|
| Method Summary | |
|---|---|
java.util.concurrent.ScheduledFuture<?> |
addTransaction(Savable s,
SpyConfig conf)
Add a transaction to the pipeline without a context. |
java.util.concurrent.ScheduledFuture<?> |
addTransaction(Savable s,
SpyConfig conf,
SaveContext ctx)
Add a transaction to the pipeline. |
void |
shutdown()
Shut down the pipeline. |
| Methods inherited from class net.spy.SpyObject |
|---|
getLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionPipeline(java.lang.ThreadGroup tg,
java.lang.String name)
tg - the thread group under which threads will be createdname - an optional suffix to the names of the worker createdpublic TransactionPipeline()
| Method Detail |
|---|
public void shutdown()
public java.util.concurrent.ScheduledFuture<?> addTransaction(Savable s,
SpyConfig conf,
SaveContext ctx)
s - the savableconf - the configurationcontext - a context for the save
public java.util.concurrent.ScheduledFuture<?> addTransaction(Savable s,
SpyConfig conf)
s - the savableconf - the configuration
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||