Package com.avaje.ebeaninternal.api

Examples of com.avaje.ebeaninternal.api.TransactionEvent


   * Return the underlying TransactionEvent.
   */
  public TransactionEvent getEvent() {
    queryOnly = false;
    if (event == null) {
      event = new TransactionEvent();
    }
    return event;
  }
View Full Code Here


   * invalidate the appropriate parts of the cache.
   * </p>
   */
  public void externalModification(TransactionEventTable tableEvents) {
       
    TransactionEvent event = new TransactionEvent();
    event.add(tableEvents);
   
    PostCommitProcessing postCommit = new PostCommitProcessing(clusterManager, this, null, event);
       
    // invalidate parts of local cache and index
    postCommit.notifyLocalCacheIndex();
View Full Code Here

   * Add the bean to the TransactionEvent. This will be used by TransactionManager to synch Cache,
   * Cluster and text indexes.
   */
  private void addEvent() {

    TransactionEvent event = transaction.getEvent();
    if (event != null) {
      event.add(this);
    }
  }
View Full Code Here

TOP

Related Classes of com.avaje.ebeaninternal.api.TransactionEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.