|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.accumulo.proxy.thrift.WriterOptions
public class WriterOptions
Nested Class Summary | |
---|---|
static class |
WriterOptions._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
long |
latencyMs
|
long |
maxMemory
|
static Map<WriterOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
int |
threads
|
long |
timeoutMs
|
Constructor Summary | |
---|---|
WriterOptions()
|
|
WriterOptions(long maxMemory,
long latencyMs,
long timeoutMs,
int threads)
|
|
WriterOptions(WriterOptions other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(WriterOptions other)
|
WriterOptions |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(WriterOptions that)
|
WriterOptions._Fields |
fieldForId(int fieldId)
|
Object |
getFieldValue(WriterOptions._Fields field)
|
long |
getLatencyMs()
|
long |
getMaxMemory()
|
int |
getThreads()
|
long |
getTimeoutMs()
|
int |
hashCode()
|
boolean |
isSet(WriterOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetLatencyMs()
Returns true if field latencyMs is set (has been assigned a value) and false otherwise |
boolean |
isSetMaxMemory()
Returns true if field maxMemory is set (has been assigned a value) and false otherwise |
boolean |
isSetThreads()
Returns true if field threads is set (has been assigned a value) and false otherwise |
boolean |
isSetTimeoutMs()
Returns true if field timeoutMs is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(WriterOptions._Fields field,
Object value)
|
WriterOptions |
setLatencyMs(long latencyMs)
|
void |
setLatencyMsIsSet(boolean value)
|
WriterOptions |
setMaxMemory(long maxMemory)
|
void |
setMaxMemoryIsSet(boolean value)
|
WriterOptions |
setThreads(int threads)
|
void |
setThreadsIsSet(boolean value)
|
WriterOptions |
setTimeoutMs(long timeoutMs)
|
void |
setTimeoutMsIsSet(boolean value)
|
String |
toString()
|
void |
unsetLatencyMs()
|
void |
unsetMaxMemory()
|
void |
unsetThreads()
|
void |
unsetTimeoutMs()
|
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 |
---|
public long maxMemory
public long latencyMs
public long timeoutMs
public int threads
public static final Map<WriterOptions._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public WriterOptions()
public WriterOptions(long maxMemory, long latencyMs, long timeoutMs, int threads)
public WriterOptions(WriterOptions other)
Method Detail |
---|
public WriterOptions deepCopy()
deepCopy
in interface org.apache.thrift.TBase<WriterOptions,WriterOptions._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<WriterOptions,WriterOptions._Fields>
public long getMaxMemory()
public WriterOptions setMaxMemory(long maxMemory)
public void unsetMaxMemory()
public boolean isSetMaxMemory()
public void setMaxMemoryIsSet(boolean value)
public long getLatencyMs()
public WriterOptions setLatencyMs(long latencyMs)
public void unsetLatencyMs()
public boolean isSetLatencyMs()
public void setLatencyMsIsSet(boolean value)
public long getTimeoutMs()
public WriterOptions setTimeoutMs(long timeoutMs)
public void unsetTimeoutMs()
public boolean isSetTimeoutMs()
public void setTimeoutMsIsSet(boolean value)
public int getThreads()
public WriterOptions setThreads(int threads)
public void unsetThreads()
public boolean isSetThreads()
public void setThreadsIsSet(boolean value)
public void setFieldValue(WriterOptions._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<WriterOptions,WriterOptions._Fields>
public Object getFieldValue(WriterOptions._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<WriterOptions,WriterOptions._Fields>
public boolean isSet(WriterOptions._Fields field)
isSet
in interface org.apache.thrift.TBase<WriterOptions,WriterOptions._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(WriterOptions that)
public int hashCode()
hashCode
in class Object
public int compareTo(WriterOptions other)
compareTo
in interface Comparable<WriterOptions>
public WriterOptions._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<WriterOptions,WriterOptions._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<WriterOptions,WriterOptions._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<WriterOptions,WriterOptions._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |