org.wildfly.extras.creaper.commands.transactions
Class ChangeJdbcTransactionAttributes.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.transactions.ChangeJdbcTransactionAttributes.Builder
Enclosing class:
ChangeJdbcTransactionAttributes

public static final class ChangeJdbcTransactionAttributes.Builder
extends Object

JDBC options are available for EAP 6.2.0 and higher in transaction subsystem.

Please note that WildFly 9 has a bug: if the journal store is enabled, it isn't automatically disabled when enabling the JDBC store. Moreover, disabling the journal store properly requires server restart, which is why this command doesn't do that under the hood. All other versions (WildFly 8 and previous, WildFly 10 and later) are fine.


Field Summary
protected  Boolean actionStoreDropTable
           
protected  String actionStoreTablePrefix
           
protected  Boolean communicationStoreDropTable
           
protected  String communicationStoreTablePrefix
           
protected  Boolean stateStoreDropTable
           
protected  String stateStoreTablePrefix
           
protected  String storeDatasource
           
protected  Boolean useJdbcStore
           
 
Constructor Summary
ChangeJdbcTransactionAttributes.Builder()
           
 
Method Summary
 ChangeJdbcTransactionAttributes.Builder actionStoreDropTable(boolean value)
           
 ChangeJdbcTransactionAttributes.Builder actionStoreTablePrefix(String value)
           
 ChangeJdbcTransactionAttributes build()
           
 ChangeJdbcTransactionAttributes.Builder communicationStoreDropTable(boolean value)
           
 ChangeJdbcTransactionAttributes.Builder communicationStoreTablePrefix(String value)
           
 ChangeJdbcTransactionAttributes.Builder stateStoreDropTable(boolean value)
           
 ChangeJdbcTransactionAttributes.Builder stateStoreTablePrefix(String value)
           
 ChangeJdbcTransactionAttributes.Builder storeDatasource(String value)
           
 ChangeJdbcTransactionAttributes.Builder useJdbcStore(boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useJdbcStore

protected Boolean useJdbcStore

storeDatasource

protected String storeDatasource

actionStoreDropTable

protected Boolean actionStoreDropTable

actionStoreTablePrefix

protected String actionStoreTablePrefix

communicationStoreDropTable

protected Boolean communicationStoreDropTable

communicationStoreTablePrefix

protected String communicationStoreTablePrefix

stateStoreDropTable

protected Boolean stateStoreDropTable

stateStoreTablePrefix

protected String stateStoreTablePrefix
Constructor Detail

ChangeJdbcTransactionAttributes.Builder

public ChangeJdbcTransactionAttributes.Builder()
Method Detail

useJdbcStore

public ChangeJdbcTransactionAttributes.Builder useJdbcStore(boolean value)

storeDatasource

public ChangeJdbcTransactionAttributes.Builder storeDatasource(String value)

actionStoreDropTable

public ChangeJdbcTransactionAttributes.Builder actionStoreDropTable(boolean value)

actionStoreTablePrefix

public ChangeJdbcTransactionAttributes.Builder actionStoreTablePrefix(String value)

communicationStoreDropTable

public ChangeJdbcTransactionAttributes.Builder communicationStoreDropTable(boolean value)

communicationStoreTablePrefix

public ChangeJdbcTransactionAttributes.Builder communicationStoreTablePrefix(String value)

stateStoreDropTable

public ChangeJdbcTransactionAttributes.Builder stateStoreDropTable(boolean value)

stateStoreTablePrefix

public ChangeJdbcTransactionAttributes.Builder stateStoreTablePrefix(String value)

build

public ChangeJdbcTransactionAttributes build()


Copyright © 2020. All rights reserved.