[infinispan-issues] [JBoss JIRA] (ISPN-4781) CustomFailurePolicy.init is never called.
Duncan Doyle (JIRA)
issues at jboss.org
Sun Sep 28 17:10:02 EDT 2014
[ https://issues.jboss.org/browse/ISPN-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duncan Doyle updated ISPN-4781:
-------------------------------
Description:
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 does not call the 'init(Cache<K,V> cache)' method of the failure policy.
was:
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 by custom XSite failure policy is this never initiated.
It seems that the BackupSenderImpl class initiates the CustomFailurePolicy in its 'start()' method does not call the 'init(Cache<K,V> cache)' method of the failure policy.
> 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: 7.0.0.Beta2
> Environment: Mac OS X 10.9.4, Oracle HotSpot 1.7.0_67
> Reporter: Duncan Doyle
> Assignee: Duncan Doyle
>
> 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 does not call the 'init(Cache<K,V> cache)' method of the failure policy.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the infinispan-issues
mailing list