APISonar


com.avaje.ebean.event.changelog.ChangeLogListener.log

> com > avaje > ebean > event > changelog > ChangeLogListener > log
com APIs avaje APIs ebean APIs event APIs changelog APIs ChangeLogListener APIs log APIs

Example 1
private final ChangeLogListener changeLogListener;

  public void sendChangeLog(final ChangeSet changeSet) {

    // can set userId, userIpAddress & userContext if desired
    if (changeLogPrepare.prepare(changeSet)) {

      // call the log method in background
      backgroundExecutor.execute(new Runnable() {
        @Override
        public void run() {
          changeLogListener.log(changeSet);
        }
      });
    }
  }