org.apache.jackrabbit.core.cluster
Interface Update


public interface Update

Update operation passed in UpdateEventChannel.


Method Summary
 Object getAttribute(String name)
          Return an attribute of this update operation.
 ChangeLog getChanges()
          Return the local changes of this update operation.
 List getEvents()
          Return the collection of events this update operation will generate.
 void setAttribute(String name, Object value)
          Set an attribute of this update operation.
 

Method Detail

setAttribute

void setAttribute(String name,
                  Object value)
Set an attribute of this update operation. Can be used to remember some setting for a later notification.

Parameters:
name - attribute name
value - attribute value

getAttribute

Object getAttribute(String name)
Return an attribute of this update operation.

Parameters:
name - attribute name
Returns:
attribute value or null

getChanges

ChangeLog getChanges()
Return the local changes of this update operation.

Returns:
local changes

getEvents

List getEvents()
Return the collection of events this update operation will generate.

Returns:
collection of EventStates


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.