org.jboss.portal.common.concurrent.loader
Class ObjectBatch

java.lang.Object
  extended by org.jboss.portal.common.concurrent.loader.ObjectBatch

public class ObjectBatch
extends java.lang.Object

Defines a batch of virtual objects.

Version:
$Revision: 7228 $
Author:
Julien Viet

Constructor Summary
ObjectBatch(ObjectLoader[] objectLoaders, LoadingPolicy policy)
           
 
Method Summary
 java.lang.Object getObject(LoaderContext ctx, int index)
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectBatch

public ObjectBatch(ObjectLoader[] objectLoaders,
                   LoadingPolicy policy)
Method Detail

getSize

public int getSize()

getObject

public java.lang.Object getObject(LoaderContext ctx,
                                  int index)
                           throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException