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

io.objectbox.config.DebugFlags Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
/*
 * Copyright 2024 ObjectBox Ltd. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// automatically generated by the FlatBuffers compiler, do not modify

package io.objectbox.config;

/**
 * Debug flags typically enable additional "debug logging" that can be helpful to better understand what is going on
 * internally. These are intended for the development process only; typically one does not enable them for releases.
 */
@SuppressWarnings("unused")
public final class DebugFlags {
  private DebugFlags() { }
  public static final int LOG_TRANSACTIONS_READ = 1;
  public static final int LOG_TRANSACTIONS_WRITE = 2;
  public static final int LOG_QUERIES = 4;
  public static final int LOG_QUERY_PARAMETERS = 8;
  public static final int LOG_ASYNC_QUEUE = 16;
  public static final int LOG_CACHE_HITS = 32;
  public static final int LOG_CACHE_ALL = 64;
  public static final int LOG_TREE = 128;
  /**
   * For a limited number of error conditions, this will try to print stack traces.
   * Note: this is Linux-only, experimental, and has several limitations:
   * The usefulness of these stack traces depends on several factors and might not be helpful at all.
   */
  public static final int LOG_EXCEPTION_STACK_TRACE = 256;
  /**
   * Run a quick self-test to verify basic threading; somewhat paranoia to check the platform and the library setup.
   */
  public static final int RUN_THREADING_SELF_TEST = 512;
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy