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

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

There is a newer version: 15.8.0
Show newest version
package io.ebeaninternal.server.transaction;

import io.ebean.ProfileLocation;
import io.ebeaninternal.api.SpiProfileHandler;

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

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

  @Override
  public ProfileStream createProfileStream(ProfileLocation location) {
    // always return null
    return null;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy