net.sf.asyncobjects.vats
Class VatQueueRunner.EnqueuedVat

java.lang.Object
  extended by net.sf.asyncobjects.vats.VatQueueRunner.EnqueuedVat
All Implemented Interfaces:
Runnable
Enclosing class:
VatQueueRunner

protected final class VatQueueRunner.EnqueuedVat
extends Object
implements Runnable

An enqueued vat

Author:
const

Field Summary
 Object ticket
          a ticket
 Vat vat
          a vat
 
Constructor Summary
VatQueueRunner.EnqueuedVat(Vat vat, Object ticket)
          A constructor
 
Method Summary
 void run()
          The default run method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vat

public final Vat vat
a vat


ticket

public final Object ticket
a ticket

Constructor Detail

VatQueueRunner.EnqueuedVat

public VatQueueRunner.EnqueuedVat(Vat vat,
                                  Object ticket)
A constructor

Parameters:
vat - a vat
ticket - a ticket
Method Detail

run

public void run()
The default run method. It continues executes batching factor amount of events while there is no other vats enqueued and there are still events in the vat.

Specified by:
run in interface Runnable
See Also:
Runnable.run()


Copyright © 2002-2007 Constantine Plotnikov. All Rights Reserved.