ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/jmx/DatabaseInfoMBean.java

Path
ttomcat-1778514358873.zip-extract/_dependencies/maven/com.h2database_h2-2.2.220/org/h2/jmx/DatabaseInfoMBean.java
Status
scanned
Type
file
Name
DatabaseInfoMBean.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text
Tag

      
    
Rootfs path

      
    
Size
2307 (2.3 KB)
MD5
04dead21327f2345acdcbfe3899905f3
SHA1
466f01e59758003499fd7a99b951891ee1b99073
SHA256
c42771b9b7d9bc9282abb79ad92e4a06c46afe308dfbba5aec38c2b9b37f5924
SHA512

      
    
SHA1_git
cc75024aeb6bbfe6ce79e20d8e85cdf15a0fc0b3
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
DatabaseInfoMBean.java | 2.3 KB |

/* * Copyright 2004-2023 H2 Group. Multiple-Licensed under the MPL 2.0, * and the EPL 1.0 (https://h2database.com/html/license.html). * Initial Developer: H2 Group */ package org.h2.jmx; /** * Information and management operations for the given database. * * @author Eric Dong * @author Thomas Mueller */ public interface DatabaseInfoMBean { /** * Is the database open in exclusive mode? * * @return true if the database is open in exclusive mode, false otherwise */ boolean isExclusive(); /** * Is the database read-only? * * @return true if the database is read-only, false otherwise */ boolean isReadOnly(); /** * The database compatibility mode (REGULAR if no compatibility mode is * used). * * @return the database mode */ String getMode(); /** * The number of write operations since the database was opened. * * @return the write count */ long getFileWriteCount(); /** * The file read count since the database was opened. * * @return the read count */ long getFileReadCount(); /** * The database file size in KB. * * @return the number of pages */ long getFileSize(); /** * The maximum cache size in KB. * * @return the maximum size */ int getCacheSizeMax(); /** * Change the maximum size. * * @param kb the cache size in KB. */ void setCacheSizeMax(int kb); /** * The current cache size in KB. * * @return the current size */ int getCacheSize(); /** * The database version. * * @return the version */ String getVersion(); /** * The trace level (0 disabled, 1 error, 2 info, 3 debug). * * @return the level */ int getTraceLevel(); /** * Set the trace level. * * @param level the new value */ void setTraceLevel(int level); /** * List the database settings. * * @return the database settings */ String listSettings(); /** * List sessions, including the queries that are in * progress, and locked tables. * * @return information about the sessions */ String listSessions(); }
Detected license expression
mpl-2.0 AND epl-1.0
Detected license expression (SPDX)
MPL-2.0 AND EPL-1.0
Percentage of license text
3.61
Copyrights
- end_line: 2
  copyright: Copyright 2004-2023 H2 Group. Multiple-Licensed
  start_line: 2
Holders
- holder: H2 Group. Multiple-Licensed
  end_line: 2
  start_line: 2
Authors
- author: Eric Dong
  end_line: 11
  start_line: 11
- author: Thomas Mueller
  end_line: 12
  start_line: 12
License detections License expression License expression SPDX
mpl_2_0_and_epl_1_0-796bf8d7-f485-3520-923d-e6a4b1ecd2f3 mpl-2.0 AND epl-1.0 MPL-2.0 AND EPL-1.0
URL Start line End line
https://h2database.com/html/license.html 3 3
Package URL License Primary language
pkg:osgi/com.h2database.source@2.2.220