[infinispan-issues] [JBoss JIRA] Created: (ISPN-608) Make the ReplicationQueue Listenable

craig bomba (JIRA) jira-events at lists.jboss.org
Wed Aug 18 15:28:11 EDT 2010


Make the ReplicationQueue Listenable
------------------------------------

                 Key: ISPN-608
                 URL: https://jira.jboss.org/browse/ISPN-608
             Project: Infinispan
          Issue Type: Feature Request
          Components: Core API
            Reporter: craig bomba
            Assignee: craig bomba
            Priority: Minor


We needed to make the ReplicationQueue listenable. We needed events for adding a command to and flushing the queue.

org.infinispan.factories.EmptyConstructorNamedCacheFactory

Just added ReplicationQueueNotifier.class to the @DefaultFactoryFor annotation.

org.infinispan.notifications.replicationqueuelistener.ReplicationQueueNotifier

Interface for the ReplicationQueue notifier.

org.infinispan.notifications.replicationqueuelistener.ReplicationQueueNotifierImpl

The ReplicationQueue notifier implementation. Supports events for adding and a command to and flushing the queue.

org.infinispan.notifications.replicationqueuelistener.annotation.Flush
org.infinispan.notifications.replicationqueuelistener.annotation.ReplicableCommandAdded

The bare annotations to add to ReplicationQueue listeners.

org.infinispan.notifications.replicationqueuelistener.event.Event

The interface for the command added and flush event implementations.

org.infinispan.notifications.replicationqueuelistener.event.FlushEvent
org.infinispan.notifications.replicationqueuelistener.event.ReplicableCommandAddedEvent

The event implementations.

org.infinispan.remoting.ReplicationQueue

Updated to implement listenable.
  Throws the command added event AFTER it has been added to the queue. It includes the size of the queue AFTER the command has been added.
  Throws the flush event AFTER the queue has been flushed. It includes the size of the queue to be flushed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the infinispan-issues mailing list