code: void start(long checkpointInterval, long deadlockDetectorInterval) {
          getLog().info("Opened repository \"" + getName() + '"');
  
          if (mRunCheckpointer && checkpointInterval > 0) {
              mCheckpointer = new Checkpointer(this, checkpointInterval, 1024, 5);
              mCheckpointer.start();
          } else {
              mCheckpointer = null;
          }
  
          if (mRunDeadlockDetector && deadlockDetectorInterval > 0) {
              mDeadlockDetector = new DeadlockDetector(this, deadlockDetectorInterval);
              mDeadlockDetector.start();
          } else {
              mDeadlockDetector = null;
          }
  
          setAutoShutdownEnabled(true);
      }
docs: Start background tasks and enable auto shutdown.
  
  @param checkpointInterval how often to run checkpoints, in milliseconds,
  or zero if never. Ignored if repository is read only or builder has
  checkpoints disabled.
  @param deadlockDetectorInterval how often to run deadlock detector, in
  milliseconds, or zero if never. Ignored if builder has deadlock detector
  disabled.
  
  @deprecated Overloaded for backwards compatiblity with older
  CarbonadoSleepycat packages