| java.lang.Object org.griphyn.vdl.planner.RCWrapper
RCWrapper | public class RCWrapper implements Wrapper(Code) | | This class wraps the shell planner's request into the new RC API.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ |
Constructor Summary | |
public | RCWrapper() Connects the interface with the replica catalog implementation. | public | RCWrapper(VDSProperties props) Connects the interface with the replica catalog implementation. |
Method Summary | |
public void | close() Frees resources taken by the instance of the replica catalog. | protected void | finalize() garbage collection. | public String | getName() Obtains the name of the class implementing the replica catalog. | public String | lookup(String pool, String lfn) Find the (first) physical filename for the logical file and
resource.
Parameters: pool - is the pool, site or resource name. | public String | toString() Shows the contents of the catalog as one string.
the string with the complete catalog contents. |
close | public void close()(Code) | | Frees resources taken by the instance of the replica catalog. This
method is safe to be called on failed or already closed catalogs.
|
finalize | protected void finalize()(Code) | | garbage collection.
|
getName | public String getName()(Code) | | Obtains the name of the class implementing the replica catalog.
class name of the replica catalog implementor. |
lookup | public String lookup(String pool, String lfn)(Code) | | Find the (first) physical filename for the logical file and
resource.
Parameters: pool - is the pool, site or resource name. Parameters: lfn - is the logical filename (LFN) to look up. the physical entity, or null if not found. |
toString | public String toString()(Code) | | Shows the contents of the catalog as one string.
the string with the complete catalog contents. Warning, this may be very large, slow, and memory expensive. |
|
|