SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

com.solarmetric.kodo.runtime.event
Interface RemoteCommitListener

All Known Implementing Classes:
CacheImpl

public interface RemoteCommitListener

An entity that wishes to be notified when PersistenceManagers associated with remote PersistenceManagerFactories commit.

A RemoteCommitListener is not notified of commits that originated with a PersistenceManager created from the PersistenceManagerFactory that it is registered with. (Of course, if a listener is registered with multiple factories, this situation might be complicated a bit.)

Since:
2.5.0

Method Summary
 void close()
          Close any resources used by this listener.
 void transactionCommitted(Set added, Set updated, Set deleted)
          Notification that a transaction associated with a different PersistenceManagerFactory has successfully committed.
 

Method Detail

transactionCommitted

public void transactionCommitted(Set added,
                                 Set updated,
                                 Set deleted)

Notification that a transaction associated with a different PersistenceManagerFactory has successfully committed. added, updated, and deleted are sets of object IDs that were added, updated, or deleted, respectively.


close

public void close()
Close any resources used by this listener.

SolarMetric Kodo JDO 2.5.8 generated on January 11 2004

Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.