private class RemoteTransfer.TransferState extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL_REMOTE_TYPE
The constant to denote that all transfers are to be exectuted remotely
|
static int |
INTER_REMOTE_TYPE
The constant to denote that an inter site transfer is to be exectuted remotely
|
private int |
mState
Stores the state as an integer.
|
static int |
STAGE_IN_REMOTE_TYPE
The constant to denote that a stage-in transfer is to be exectuted remotely
|
static int |
STAGE_OUT_REMOTE_TYPE
The constant to denote that a stage-out transfer is to be exectuted remotely
|
Constructor and Description |
---|
RemoteTransfer.TransferState()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
get(int type)
Returns a boolean indicating whether the attribute passed is set
in the transfer state or not.
|
int |
getState()
Returns the state.
|
void |
set(int type)
Sets a type of transfer to be third party.
|
String |
toString()
Returns a textual description of the state as
(stageinRemote,interRemote,stageoutRemote).
|
public static final int STAGE_IN_REMOTE_TYPE
public static final int INTER_REMOTE_TYPE
public static final int STAGE_OUT_REMOTE_TYPE
public static final int ALL_REMOTE_TYPE
private int mState
public RemoteTransfer.TransferState()
public int getState()
public void set(int type)
type
- the type of transfer to be set TPTpublic boolean get(int type)
type
- the attribute type.Copyright © 2011 The University of Southern California. All Rights Reserved.