org.eaglei.search.events
Class ChangeEventPayloadImpl

java.lang.Object
  extended by org.eaglei.search.events.ChangeEventPayloadImpl
All Implemented Interfaces:
ChangeEventPayload

public class ChangeEventPayloadImpl
extends java.lang.Object
implements ChangeEventPayload

Container class for change event payloads (SearchResultSet, for now).

Author:
Rich Simon

Constructor Summary
ChangeEventPayloadImpl(SearchResultSet p)
           
 
Method Summary
 java.util.List<ChangeEventPayloadItem> getChanges()
          Get the List of objects representing changes to the Lucene index.
 int getTotalCount()
          Returns number of items in the payload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeEventPayloadImpl

public ChangeEventPayloadImpl(SearchResultSet p)
Method Detail

getChanges

public java.util.List<ChangeEventPayloadItem> getChanges()
Description copied from interface: ChangeEventPayload
Get the List of objects representing changes to the Lucene index.

Specified by:
getChanges in interface ChangeEventPayload
Returns:
List

getTotalCount

public int getTotalCount()
Description copied from interface: ChangeEventPayload
Returns number of items in the payload.

Specified by:
getTotalCount in interface ChangeEventPayload
Returns:
int The number of items in the payload


Copyright © 2009-2011 Eagle-I. All Rights Reserved.