org.gwe.utils.services
Class ProcessingPermitBroker

java.lang.Object
  extended by org.gwe.utils.services.ProcessingPermitBroker
All Implemented Interfaces:
java.lang.Runnable

public class ProcessingPermitBroker
extends java.lang.Object
implements java.lang.Runnable

Since:
Aug 1, 2007
Author:
Marco Ruiz

Constructor Summary
ProcessingPermitBroker(int maxParallelRequest, java.lang.String name)
           
ProcessingPermitBroker(java.lang.String name)
           
 
Method Summary
 long createPermit()
           
 void destroyPermit(long reqId)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessingPermitBroker

public ProcessingPermitBroker(java.lang.String name)

ProcessingPermitBroker

public ProcessingPermitBroker(int maxParallelRequest,
                              java.lang.String name)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

createPermit

public long createPermit()

destroyPermit

public void destroyPermit(long reqId)


Copyright © 2007-2009. All Rights Reserved.