git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/information-system/gCubeIS/Registry@8397 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f514f06059
commit
868b4d4034
|
@ -43,11 +43,11 @@ public class EliminatePoolingThread extends Thread {
|
|||
while (stack.size()>0){
|
||||
Couple c=stack.remove(stack.size()-1);
|
||||
|
||||
System.out.println("trying to delete "+c.resource.getID() );
|
||||
System.out.println("timenstamp now: "+timestamp+" resource timestamp: "+c.timestamp);
|
||||
if ( (timestamp>=c.timestamp)) try {
|
||||
System.out.println("the resource will be deleted "+c.resource.getID());
|
||||
ProfileContext.getContext().getWSHome().remove(c.resource.getID());
|
||||
logger.trace("trying to delete "+c.resource.getID() );
|
||||
logger.trace("timenstamp now: "+timestamp+" resource timestamp: "+c.timestamp);
|
||||
if ( (timestamp>=c.timestamp))
|
||||
try {
|
||||
ProfileContext.getContext().getWSHome().remove(c.resource.getID());
|
||||
}catch(Exception e){e.printStackTrace();tmpStack.offer(c);}
|
||||
else tmpStack.offer(c);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue