]
Tristan Tarrant reassigned ISPN-3538:
-------------------------------------
Assignee: (was: Mircea Markus)
Align recovery() enabling in Configuration
-------------------------------------------
Key: ISPN-3538
URL:
https://issues.jboss.org/browse/ISPN-3538
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 6.0.0.Beta1
Reporter: Jiří Holuša
Priority: Minor
When configuring recovery via ConfigurationBuilder, calling .transaction().recovery()
will by default enable recovery, so no need to call enable().
But when calling e.g. globalJmxStatistics() in GlobalConfigurationBuilder, you have to
explicitly call enable(). Another example is when configuring L1 cache, e.g.
l1().lifespan(60000L), you also have to explicitly call enable().
I think it would be nice to have it consistent.