Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3083

Recovery parser always enable it

    XMLWordPrintable

Details

    • Hide

      don't set the recoveryInfoCacheName if you don't want Recovery. Example:

      <namedCache name="noRecovery">
        <transaction (...) transactionMode="NON_TRANSACTIONAL">
          <recovery enabled="false"/>
        </transaction>
      </namedCache>
      
      Show
      don't set the recoveryInfoCacheName if you don't want Recovery. Example: <namedCache name= "noRecovery" > <transaction (...) transactionMode= "NON_TRANSACTIONAL" > <recovery enabled= "false" /> </transaction> </namedCache>

    Description

      in TransactionConfigurationBuilder:

      public RecoveryConfigurationBuilder recovery() {
        recovery.enable();
        return recovery;
      }
      

      This will enable the Recovery in configurations like this:

      <namedCache name="noRecovery">
        <transaction (...) transactionMode="NON_TRANSACTIONAL">
          <recovery enabled="false" recoveryInfoCacheName="someName"/>
        </transaction>
      </namedCache>
      

      Attachments

        Activity

          People

            pruivo@redhat.com Pedro Ruivo
            pruivo@redhat.com Pedro Ruivo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: