Package io.quarkus.narayana.jta.runtime
Class ObjectStoreConfig
- java.lang.Object
-
- io.quarkus.narayana.jta.runtime.ObjectStoreConfig
-
class ObjectStoreConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleancreateTableWhether to create the table if it does not exist.Optional<String>datasourceThe name of the datasource where the transaction logs will be stored when using thejdbcobject store.StringdirectoryThe name of the directory where the transaction logs will be stored when using thefile-systemobject store.booleandropTableWhether to drop the table on startup.StringtablePrefixThe prefix to apply to the table.ObjectStoreTypetypeThe type of object store.
-
Constructor Summary
Constructors Constructor Description ObjectStoreConfig()
-
-
-
Field Detail
-
directory
@ConfigItem(defaultValue="ObjectStore") public String directory
The name of the directory where the transaction logs will be stored when using thefile-systemobject store. If the value is not absolute then the directory is relative to the user.dir system property.
-
type
@ConfigItem(defaultValue="file-system") public ObjectStoreType type
The type of object store.
-
datasource
@ConfigItem public Optional<String> datasource
The name of the datasource where the transaction logs will be stored when using thejdbcobject store.If undefined, it will use the default datasource.
-
createTable
@ConfigItem(defaultValue="false") public boolean createTable
Whether to create the table if it does not exist.
-
dropTable
@ConfigItem(defaultValue="false") public boolean dropTable
Whether to drop the table on startup.
-
tablePrefix
@ConfigItem(defaultValue="quarkus_") public String tablePrefix
The prefix to apply to the table.
-
-