de.fzj.unicore.wsrflite.impl
Interface InstanceChecker

All Known Implementing Classes:
ExpiryChecker, WSNEventChecker

public interface InstanceChecker

instances of this class are used for periodical checks on all the WSRF instances existing in a specific DefaultHome

Author:
schuller, demuth

Method Summary
 boolean check(Home home, String uniqueID)
          check condition
 boolean process(Home home, String uniqueID)
          perform processing on the instance (in case check() hits)
 

Method Detail

check

boolean check(Home home,
              String uniqueID)
              throws ResourceUnknownException
check condition

Parameters:
uniqueID - - a WSRFInstance id
Returns:
Throws:
ResourceUnknownException

process

boolean process(Home home,
                String uniqueID)
                throws ResourceUnknownException
perform processing on the instance (in case check() hits)

Parameters:
uniqueID - - a WSRFInstance id
Returns:
returns true if instance is still valid. If it is invalid, false is returned, and the instance will be removed from further checks
Throws:
ResourceUnknownException


Copyright © 2010. All Rights Reserved.