Hi all,
Re:
https://issues.jboss.org/browse/ISPN-1745
The following deprecated methods belonging to the new configuration are going away for
final and the methods that should be used instead:
- SerializationConfigurationBuilder.marshallerClass() ->
SerializationConfigurationBuilder.marshaller()
- ClusteringConfigurationBuilder.stateRetrieval() ->
ClusteringConfigurationBuilder.stateTransfer()
- Configuration.onePhaseCommit() ->
ClusteringConfigurationBuilder.cacheMode().isSynchronous()
- StateRetrievalConfiguration -> StateTransferConfiguration
- StateRetrievalConfigurationBuilder -> StateTransferConfigurationBuilder
- TransactionConfigurationBuilder.cacheStopTimeout(int) ->
TransactionConfigurationBuilder.cacheStopTimeout(long)
Other stuff I've spotted:
- TransactionConfiguration should not contain setters, those are already in
TransactionConfigurationBuilder
- TransactionConfiguration.transactionalCache() has been removed
- Configuration.stateTransferEnabled was removed (what the heck was it doing there?)
If this is problematic for anyone, please reply.
Cheers,
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache