Class: Fluent::TransactionContext

Inherits:
Object
  • Object
show all
Defined in:
lib/flydata/fluent-plugins/flydata_plugin_ext/transaction_support.rb

Instance Method Summary collapse

Instance Method Details

#set_transaction_brokenObject


4
5
6
# File 'lib/flydata/fluent-plugins/flydata_plugin_ext/transaction_support.rb', line 4

def set_transaction_broken
  @transaction_broken = true
end

#transaction_broken?Boolean

Returns:

  • (Boolean)

8
9
10
# File 'lib/flydata/fluent-plugins/flydata_plugin_ext/transaction_support.rb', line 8

def transaction_broken?
  @transaction_broken == true
end