code: @Deprecated
     public DeadlockDetectionConfigurationBuilder spinDuration(long l, TimeUnit unit) {
        return spinDuration(unit.toMillis(l));
     }
docs: Time period that determines how often is lock acquisition attempted within maximum time
  allowed to acquire a particular lock
  
  @deprecated Since 9.0, deadlock detection is always disabled.