mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
22 lines
482 B
Java
22 lines
482 B
Java
package io.ebeaninternal.server.transaction;
|
|
|
|
import io.ebean.ProfileLocation;
|
|
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(ProfileLocation location) {
|
|
// always return null
|
|
return null;
|
|
}
|
|
}
|