All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.ebeaninternal.server.transaction.NoopProfileHandler Maven / Gradle / Ivy

package io.ebeaninternal.server.transaction;

import io.ebeaninternal.api.SpiProfileHandler;

/**
 * A do nothing SpiProfileHandler.
 */
public class NoopProfileHandler implements SpiProfileHandler {

  @Override
  public void collectTransactionProfile(TransactionProfile transactionProfile) {
    // do nothing
  }

  @Override
  public ProfileStream createProfileStream(int profileId) {
    // always return null
    return null;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy