io.ebeaninternal.server.transaction.NoopProfileHandler Maven / Gradle / Ivy
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