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

io.ebeaninternal.server.core.NoopCallStackFactory Maven / Gradle / Ivy

There is a newer version: 15.8.1
Show newest version
package io.ebeaninternal.server.core;

import io.ebean.bean.CallStack;

/**
 * A CallStackFactory we can use when we don't use AutoTune.
 */
class NoopCallStackFactory implements CallStackFactory {

  private final CallStack COMMON = new CallStack(Thread.currentThread().getStackTrace(), 0, 0);

  @Override
  public CallStack createCallStack() {
    return COMMON;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy