Lightweight Bartering Grid

lbg.peer.core.qms.queue
Class LocalQueueCursor

java.lang.Object
  extended by lbg.peer.core.qms.queue.LocalQueueCursor

public class LocalQueueCursor
extends java.lang.Object

A Local queue cursor allows to memorize which Task in the Local Tasks queue has been last selected, when scheduling Local Tasks as Consumption Tasks.

Author:
Cyril Briquet

Constructor Summary
LocalQueueCursor()
           
 
Method Summary
 int boTID()
           
 void clear()
           
 int jobID()
           
 int jobIDAsKey()
           
 java.lang.Integer taskSchedulingIDAsKey()
           
 java.lang.String toString()
           
 void update(RequestContainer rc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalQueueCursor

public LocalQueueCursor()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

jobID

public int jobID()

jobIDAsKey

public int jobIDAsKey()

boTID

public int boTID()

taskSchedulingIDAsKey

public java.lang.Integer taskSchedulingIDAsKey()

clear

public void clear()

update

public void update(RequestContainer rc)
            throws GridException
Throws:
GridException

Lightweight Bartering Grid

Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.