Changeset 4161


Ignore:
Timestamp:
2010-07-20 09:23:08 (3 years ago)
Author:
evert
Message:

Updated some javadoc on registering and unregistering RowLogMessageConsumers? on the RowLogProcessor?.

Location:
trunk/rowlog/api/src/main/java/org/lilycms/rowlog/api
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/rowlog/api/src/main/java/org/lilycms/rowlog/api/RowLog.java

    r4160 r4161  
    167167    List<RowLogMessageConsumer> getConsumers(); 
    168168 
     169    /** 
     170     * This method allows a {@link RowLogProcessor} to be set on the {@link RowLog}. 
     171     * The RowLog can then inform the RowLogProcessor when a {@link RowLogMessageConsumer} is registered or unregistered. 
     172     * This will have to be changed once the Lily distributed node behaviour is implemented. See issue #52.  
     173     * @param rowLogProcessor 
     174     */ 
    169175    void setProcessor(RowLogProcessor rowLogProcessor); 
    170176} 
  • trunk/rowlog/api/src/main/java/org/lilycms/rowlog/api/RowLogProcessor.java

    r4160 r4161  
    4040    boolean isRunning(int consumerId); 
    4141 
     42    /** 
     43     * Notifies the processor that a new {@link RowLogMessageConsumer} has been registered. 
     44     * The processor will start processing messages for this consumer. 
     45     */ 
    4246    void consumerRegistered(RowLogMessageConsumer consumer); 
    4347 
     48    /** 
     49     * Notifies the processor that a {@link RowLogMessageConsumer} has been unregistered. 
     50     * The processor will stop processing messages for this consumer. 
     51     */ 
    4452    void consumerUnregistered(RowLogMessageConsumer consumer); 
    4553} 
Note: See TracChangeset for help on using the changeset viewer.