| java.lang.Object org.griphyn.cPlanner.classes.Data org.griphyn.cPlanner.classes.LRCResult
LRCResult | public class LRCResult extends Data (Code) | | A class that stores the results
of querying an LRC. It includes
whether the operation was a success
or not and in addition the value
of the pool attribute.
author: Gaurang Mehta author: Karan Vahi version: $Revision: 50 $ See Also: org.globus.replica.rls.RLSString2Bulk |
Field Summary | |
public int | LRCExitStatus The status of the operation. | public String | lfn The lfn for which the LRC
was queried. | public String | pfn The pfn associated
with the lfn, if an
entry found in the LRC. | public String | pool The pool attribute associated
with the pfn returned. |
Method Summary | |
public Object | clone() Returns a clone of the
existing object. | public String | getErrorMessage() Returns the error/status
message according to
the LRCExitStatus. | public String | toString() Returns a textual description
of the object. |
LRCExitStatus | public int LRCExitStatus(Code) | | The status of the operation.
Whether it was a sucess or not.
The status are defined in
RLSClient.java
See Also: org.globus.replica.rls.RLSClient |
lfn | public String lfn(Code) | | The lfn for which the LRC
was queried.
|
pfn | public String pfn(Code) | | The pfn associated
with the lfn, if an
entry found in the LRC.
Else it can be null.
|
pool | public String pool(Code) | | The pool attribute associated
with the pfn returned.
This should be set to null
if pfn is not found.
|
LRCResult | public LRCResult()(Code) | | The default constructor
|
LRCResult | public LRCResult(RLSString2Bulk s2, String poolAtt)(Code) | | The overloaded constructor.
Takes in RLSString2Bulk
object.
|
clone | public Object clone()(Code) | | Returns a clone of the
existing object.
|
getErrorMessage | public String getErrorMessage()(Code) | | Returns the error/status
message according to
the LRCExitStatus.
|
toString | public String toString()(Code) | | Returns a textual description
of the object.
|
|
|