@Generated(value="Autogenerated by Thrift Compiler (0.10.0)", date="2017-08-25") public class TEnvironmentConfig extends java.lang.Object implements org.apache.thrift.TBase<TEnvironmentConfig,TEnvironmentConfig._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TEnvironmentConfig>
Modifier and Type | Class and Description |
---|---|
static class |
TEnvironmentConfig._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
boolean |
allowCreate |
int |
cacheCount |
long |
cacheSize |
TDurabilityPolicy |
durability |
java.lang.String |
encryptionKey |
TLockDetectMode |
lockDetectMode |
static java.util.Map<TEnvironmentConfig._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
multiversion |
boolean |
runRecovery |
boolean |
txnNoWait |
boolean |
txnSnapshot |
Constructor and Description |
---|
TEnvironmentConfig() |
TEnvironmentConfig(TEnvironmentConfig other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TEnvironmentConfig other) |
TEnvironmentConfig |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TEnvironmentConfig that) |
TEnvironmentConfig._Fields |
fieldForId(int fieldId) |
int |
getCacheCount() |
long |
getCacheSize() |
TDurabilityPolicy |
getDurability() |
java.lang.String |
getEncryptionKey() |
java.lang.Object |
getFieldValue(TEnvironmentConfig._Fields field) |
TLockDetectMode |
getLockDetectMode() |
int |
hashCode() |
boolean |
isAllowCreate() |
boolean |
isMultiversion() |
boolean |
isRunRecovery() |
boolean |
isSet(TEnvironmentConfig._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAllowCreate()
Returns true if field allowCreate is set (has been assigned a value) and false otherwise
|
boolean |
isSetCacheCount()
Returns true if field cacheCount is set (has been assigned a value) and false otherwise
|
boolean |
isSetCacheSize()
Returns true if field cacheSize is set (has been assigned a value) and false otherwise
|
boolean |
isSetDurability()
Returns true if field durability is set (has been assigned a value) and false otherwise
|
boolean |
isSetEncryptionKey()
Returns true if field encryptionKey is set (has been assigned a value) and false otherwise
|
boolean |
isSetLockDetectMode()
Returns true if field lockDetectMode is set (has been assigned a value) and false otherwise
|
boolean |
isSetMultiversion()
Returns true if field multiversion is set (has been assigned a value) and false otherwise
|
boolean |
isSetRunRecovery()
Returns true if field runRecovery is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxnNoWait()
Returns true if field txnNoWait is set (has been assigned a value) and false otherwise
|
boolean |
isSetTxnSnapshot()
Returns true if field txnSnapshot is set (has been assigned a value) and false otherwise
|
boolean |
isTxnNoWait() |
boolean |
isTxnSnapshot() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TEnvironmentConfig |
setAllowCreate(boolean allowCreate) |
void |
setAllowCreateIsSet(boolean value) |
TEnvironmentConfig |
setCacheCount(int cacheCount) |
void |
setCacheCountIsSet(boolean value) |
TEnvironmentConfig |
setCacheSize(long cacheSize) |
void |
setCacheSizeIsSet(boolean value) |
TEnvironmentConfig |
setDurability(TDurabilityPolicy durability) |
void |
setDurabilityIsSet(boolean value) |
TEnvironmentConfig |
setEncryptionKey(java.lang.String encryptionKey) |
void |
setEncryptionKeyIsSet(boolean value) |
void |
setFieldValue(TEnvironmentConfig._Fields field,
java.lang.Object value) |
TEnvironmentConfig |
setLockDetectMode(TLockDetectMode lockDetectMode) |
void |
setLockDetectModeIsSet(boolean value) |
TEnvironmentConfig |
setMultiversion(boolean multiversion) |
void |
setMultiversionIsSet(boolean value) |
TEnvironmentConfig |
setRunRecovery(boolean runRecovery) |
void |
setRunRecoveryIsSet(boolean value) |
TEnvironmentConfig |
setTxnNoWait(boolean txnNoWait) |
void |
setTxnNoWaitIsSet(boolean value) |
TEnvironmentConfig |
setTxnSnapshot(boolean txnSnapshot) |
void |
setTxnSnapshotIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAllowCreate() |
void |
unsetCacheCount() |
void |
unsetCacheSize() |
void |
unsetDurability() |
void |
unsetEncryptionKey() |
void |
unsetLockDetectMode() |
void |
unsetMultiversion() |
void |
unsetRunRecovery() |
void |
unsetTxnNoWait() |
void |
unsetTxnSnapshot() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public boolean allowCreate
public int cacheCount
public long cacheSize
public java.lang.String encryptionKey
public TLockDetectMode lockDetectMode
TLockDetectMode
public boolean multiversion
public boolean runRecovery
public boolean txnNoWait
public boolean txnSnapshot
public TDurabilityPolicy durability
public static final java.util.Map<TEnvironmentConfig._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TEnvironmentConfig()
public TEnvironmentConfig(TEnvironmentConfig other)
public TEnvironmentConfig deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TEnvironmentConfig,TEnvironmentConfig._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TEnvironmentConfig,TEnvironmentConfig._Fields>
public boolean isAllowCreate()
public TEnvironmentConfig setAllowCreate(boolean allowCreate)
public void unsetAllowCreate()
public boolean isSetAllowCreate()
public void setAllowCreateIsSet(boolean value)
public int getCacheCount()
public TEnvironmentConfig setCacheCount(int cacheCount)
public void unsetCacheCount()
public boolean isSetCacheCount()
public void setCacheCountIsSet(boolean value)
public long getCacheSize()
public TEnvironmentConfig setCacheSize(long cacheSize)
public void unsetCacheSize()
public boolean isSetCacheSize()
public void setCacheSizeIsSet(boolean value)
public java.lang.String getEncryptionKey()
public TEnvironmentConfig setEncryptionKey(java.lang.String encryptionKey)
public void unsetEncryptionKey()
public boolean isSetEncryptionKey()
public void setEncryptionKeyIsSet(boolean value)
public TLockDetectMode getLockDetectMode()
TLockDetectMode
public TEnvironmentConfig setLockDetectMode(TLockDetectMode lockDetectMode)
TLockDetectMode
public void unsetLockDetectMode()
public boolean isSetLockDetectMode()
public void setLockDetectModeIsSet(boolean value)
public boolean isMultiversion()
public TEnvironmentConfig setMultiversion(boolean multiversion)
public void unsetMultiversion()
public boolean isSetMultiversion()
public void setMultiversionIsSet(boolean value)
public boolean isRunRecovery()
public TEnvironmentConfig setRunRecovery(boolean runRecovery)
public void unsetRunRecovery()
public boolean isSetRunRecovery()
public void setRunRecoveryIsSet(boolean value)
public boolean isTxnNoWait()
public TEnvironmentConfig setTxnNoWait(boolean txnNoWait)
public void unsetTxnNoWait()
public boolean isSetTxnNoWait()
public void setTxnNoWaitIsSet(boolean value)
public boolean isTxnSnapshot()
public TEnvironmentConfig setTxnSnapshot(boolean txnSnapshot)
public void unsetTxnSnapshot()
public boolean isSetTxnSnapshot()
public void setTxnSnapshotIsSet(boolean value)
public TDurabilityPolicy getDurability()
public TEnvironmentConfig setDurability(TDurabilityPolicy durability)
public void unsetDurability()
public boolean isSetDurability()
public void setDurabilityIsSet(boolean value)
public void setFieldValue(TEnvironmentConfig._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TEnvironmentConfig,TEnvironmentConfig._Fields>
public java.lang.Object getFieldValue(TEnvironmentConfig._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TEnvironmentConfig,TEnvironmentConfig._Fields>
public boolean isSet(TEnvironmentConfig._Fields field)
isSet
in interface org.apache.thrift.TBase<TEnvironmentConfig,TEnvironmentConfig._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TEnvironmentConfig that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TEnvironmentConfig other)
compareTo
in interface java.lang.Comparable<TEnvironmentConfig>
public TEnvironmentConfig._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TEnvironmentConfig,TEnvironmentConfig._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright (c) 2016, 2018 Oracle and/or its affiliates. All rights reserved.