de.fzj.unicore.wsrflite.impl
Class InstanceChecking
java.lang.Object
de.fzj.unicore.wsrflite.impl.InstanceChecking
- All Implemented Interfaces:
- Runnable
public class InstanceChecking
- extends Object
- implements Runnable
Run checks on all wsrf instances of a given service
- Author:
- schuller
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
list
protected final List<String> list
checkers
protected final List<InstanceChecker> checkers
InstanceChecking
public InstanceChecking(Home home,
String[] initialInstanceIDs)
addAll
public void addAll(String[] instanceIDs)
add
public boolean add(String itemId)
remove
public boolean remove(String item)
addChecker
public boolean addChecker(InstanceChecker c)
removeChecker
public boolean removeChecker(InstanceChecker c)
run
public void run()
- template method that
checks the condition on each instance,
performs some action,
and removes the instance from the list if it is not valid anymore
- Specified by:
run in interface Runnable
Copyright © 2010. All Rights Reserved.