public class HGTransactionConfig extends Object
Encapsulates configuration parameters for a single transaction.
Modifier and Type | Field and Description |
---|---|
static HGTransactionConfig |
DEFAULT |
static HGTransactionConfig |
NO_STORAGE |
static HGTransactionConfig |
READONLY |
static HGTransactionConfig |
WRITE_UPGRADABLE |
Constructor and Description |
---|
HGTransactionConfig() |
Modifier and Type | Method and Description |
---|---|
boolean |
isNoStorage() |
boolean |
isReadonly() |
boolean |
isWriteUpgradable() |
void |
setNoStorage(boolean noStorage) |
void |
setReadonly(boolean readonly) |
void |
setWriteUpgradable(boolean writeUpgradable) |
public static final HGTransactionConfig DEFAULT
public static final HGTransactionConfig NO_STORAGE
public static final HGTransactionConfig READONLY
public static final HGTransactionConfig WRITE_UPGRADABLE
public boolean isNoStorage()
public void setNoStorage(boolean noStorage)
public boolean isReadonly()
public void setReadonly(boolean readonly)
public boolean isWriteUpgradable()
public void setWriteUpgradable(boolean writeUpgradable)
Copyright © 2015. All rights reserved.