Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-4753 Add oldValue, oldMetadata and retry flag to filter and convert... #2919

Closed
wants to merge 1 commit into from

Conversation

wburns
Copy link
Member

@wburns wburns commented Sep 30, 2014

...er for

Cluster Listeners.

  • Added new filter and converter specifically for listeners

https://issues.jboss.org/browse/ISPN-4753

* @author wburns
* @since 7.0
*/
public enum EventType {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This enum has become a bit complicated, I am thinking maybe I should change over to a regular class. WDYT?

@@ -27,20 +27,20 @@
* Notifies all registered listeners of a CacheEntryCreated event.
*/
void notifyCacheEntryCreated(K key, V value, boolean pre,
InvocationContext ctx, FlagAffectedCommand command);
InvocationContext ctx, FlagAffectedCommand command, InternalCacheEntry<K, V> previousEntry);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am thinking of changing these to instead take an Object and Metadata directly so we don't need to clone the Entry and it should work for pre events easier as we won't have an Entry there either.

@wburns wburns force-pushed the ISPN-4753 branch 2 times, most recently from 469dbed to 7908ed3 Compare October 1, 2014 16:20
@wburns
Copy link
Member Author

wburns commented Oct 1, 2014

Fixed the comments I had before.

@wburns
Copy link
Member Author

wburns commented Oct 3, 2014

Fixing a few test failures and will update.

@wburns wburns force-pushed the ISPN-4753 branch 2 times, most recently from 31674f1 to 68c657c Compare October 3, 2014 16:57
…erter for

Cluster Listeners.

* Added new filter and converter specifically for listeners
@wburns
Copy link
Member Author

wburns commented Oct 3, 2014

Tests should be fixed, had some references that were missed when I rebased and fixed conflicts.

@danberindei
Copy link
Member

Integrated, thanks Will!

@danberindei danberindei closed this Oct 6, 2014
@wburns wburns deleted the ISPN-4753 branch November 4, 2014 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants