]
Galder Zamarreño resolved ISPN-4781.
------------------------------------
Fix Version/s: 7.0.0.Final
Resolution: Done
CustomFailurePolicy.init is never called.
-----------------------------------------
Key: ISPN-4781
URL:
https://issues.jboss.org/browse/ISPN-4781
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 6.0.2.Final, 7.0.0.Beta2
Environment: Mac OS X 10.9.4, Oracle HotSpot 1.7.0_67
Reporter: Duncan Doyle
Assignee: Duncan Doyle
Fix For: 7.0.0.Final
The CustomFailurePolicy interface provides an "init(Cache<K, V> cache)"
method, which, according to the JavaDoc, should be invoked during the initialization
phase. The method is however never called and my custom XSite failure policy is this never
initiated.
It seems that the BackupSenderImpl class initiates the CustomFailurePolicy in its
'start()' method and does not call the 'init(Cache<K,V> cache)'
method of the failure policy.