tachyon.thrift
Class MasterService.addCheckpoint_args

java.lang.Object
  extended by tachyon.thrift.MasterService.addCheckpoint_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<MasterService.addCheckpoint_args>, org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
Enclosing class:
MasterService

public static class MasterService.addCheckpoint_args
extends Object
implements org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class MasterService.addCheckpoint_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String checkpointPath
           
 int fileId
           
 long fileSizeBytes
           
static Map<MasterService.addCheckpoint_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 long workerId
           
 
Constructor Summary
MasterService.addCheckpoint_args()
           
MasterService.addCheckpoint_args(long workerId, int fileId, long fileSizeBytes, String checkpointPath)
           
MasterService.addCheckpoint_args(MasterService.addCheckpoint_args other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(MasterService.addCheckpoint_args other)
           
 MasterService.addCheckpoint_args deepCopy()
           
 boolean equals(MasterService.addCheckpoint_args that)
           
 boolean equals(Object that)
           
 MasterService.addCheckpoint_args._Fields fieldForId(int fieldId)
           
 String getCheckpointPath()
           
 Object getFieldValue(MasterService.addCheckpoint_args._Fields field)
           
 int getFileId()
           
 long getFileSizeBytes()
           
 long getWorkerId()
           
 int hashCode()
           
 boolean isSet(MasterService.addCheckpoint_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetCheckpointPath()
          Returns true if field checkpointPath is set (has been assigned a value) and false otherwise
 boolean isSetFileId()
          Returns true if field fileId is set (has been assigned a value) and false otherwise
 boolean isSetFileSizeBytes()
          Returns true if field fileSizeBytes is set (has been assigned a value) and false otherwise
 boolean isSetWorkerId()
          Returns true if field workerId is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 MasterService.addCheckpoint_args setCheckpointPath(String checkpointPath)
           
 void setCheckpointPathIsSet(boolean value)
           
 void setFieldValue(MasterService.addCheckpoint_args._Fields field, Object value)
           
 MasterService.addCheckpoint_args setFileId(int fileId)
           
 void setFileIdIsSet(boolean value)
           
 MasterService.addCheckpoint_args setFileSizeBytes(long fileSizeBytes)
           
 void setFileSizeBytesIsSet(boolean value)
           
 MasterService.addCheckpoint_args setWorkerId(long workerId)
           
 void setWorkerIdIsSet(boolean value)
           
 String toString()
           
 void unsetCheckpointPath()
           
 void unsetFileId()
           
 void unsetFileSizeBytes()
           
 void unsetWorkerId()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

workerId

public long workerId

fileId

public int fileId

fileSizeBytes

public long fileSizeBytes

checkpointPath

public String checkpointPath

metaDataMap

public static final Map<MasterService.addCheckpoint_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

MasterService.addCheckpoint_args

public MasterService.addCheckpoint_args()

MasterService.addCheckpoint_args

public MasterService.addCheckpoint_args(long workerId,
                                        int fileId,
                                        long fileSizeBytes,
                                        String checkpointPath)

MasterService.addCheckpoint_args

public MasterService.addCheckpoint_args(MasterService.addCheckpoint_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public MasterService.addCheckpoint_args deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>

getWorkerId

public long getWorkerId()

setWorkerId

public MasterService.addCheckpoint_args setWorkerId(long workerId)

unsetWorkerId

public void unsetWorkerId()

isSetWorkerId

public boolean isSetWorkerId()
Returns true if field workerId is set (has been assigned a value) and false otherwise


setWorkerIdIsSet

public void setWorkerIdIsSet(boolean value)

getFileId

public int getFileId()

setFileId

public MasterService.addCheckpoint_args setFileId(int fileId)

unsetFileId

public void unsetFileId()

isSetFileId

public boolean isSetFileId()
Returns true if field fileId is set (has been assigned a value) and false otherwise


setFileIdIsSet

public void setFileIdIsSet(boolean value)

getFileSizeBytes

public long getFileSizeBytes()

setFileSizeBytes

public MasterService.addCheckpoint_args setFileSizeBytes(long fileSizeBytes)

unsetFileSizeBytes

public void unsetFileSizeBytes()

isSetFileSizeBytes

public boolean isSetFileSizeBytes()
Returns true if field fileSizeBytes is set (has been assigned a value) and false otherwise


setFileSizeBytesIsSet

public void setFileSizeBytesIsSet(boolean value)

getCheckpointPath

public String getCheckpointPath()

setCheckpointPath

public MasterService.addCheckpoint_args setCheckpointPath(String checkpointPath)

unsetCheckpointPath

public void unsetCheckpointPath()

isSetCheckpointPath

public boolean isSetCheckpointPath()
Returns true if field checkpointPath is set (has been assigned a value) and false otherwise


setCheckpointPathIsSet

public void setCheckpointPathIsSet(boolean value)

setFieldValue

public void setFieldValue(MasterService.addCheckpoint_args._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>

getFieldValue

public Object getFieldValue(MasterService.addCheckpoint_args._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>

isSet

public boolean isSet(MasterService.addCheckpoint_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(MasterService.addCheckpoint_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(MasterService.addCheckpoint_args other)
Specified by:
compareTo in interface Comparable<MasterService.addCheckpoint_args>

fieldForId

public MasterService.addCheckpoint_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<MasterService.addCheckpoint_args,MasterService.addCheckpoint_args._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013. All Rights Reserved.