Top Description Interfaces Classes
[default module]

Package org.h2.util


Internal utility classes.

Interface Summary

Modifier and TypeInterface and Description
public interface
Cache

The cache keeps frequently used objects in the main memory.

public interface
CacheWriter

The cache writer is called by the cache to persist changed data that needs to be removed from the cache.

public interface
HasSQL

An object that has an SQL representation.

Class Summary

Modifier and TypeClass and Description
public class
AbbaDetector

Utility to detect AB-BA deadlocks.

public class
AbbaLockingDetector

Utility to detect AB-BA deadlocks.

public class
Bits

Manipulations with bytes and arrays.

public class
ByteStack

The stack of byte values.

public class
CacheHead

The head element of the linked list.

public class
CacheLRU

A cache implementation based on the last recently used (LRU) algorithm.

public abstract class
CacheObject

The base object for all cached objects.

pack-priv class
CacheSecondLevel

Cache which wraps another cache (proxy pattern) and adds caching using map.

public class
CacheTQ

An alternative cache implementation.

public class
CloseWatcher

A phantom reference to watch for unclosed objects.

public class
DateTimeTemplate

Date-time template.

public class
DateTimeUtils

This utility class contains time conversion functions.

public class
DbDriverActivator

The driver activator loads the H2 driver when starting the bundle.

public class
DebuggingThreadLocal<
the type
T
>

Similar to ThreadLocal, except that it allows its data to be read from other threads - useful for debugging info.

public class
IntArray

An array with integer element.

public class
IntervalUtils

This utility class contains interval conversion functions.

public class
IOUtils

This utility class contains input/output functions.

public class
JdbcUtils

This is a utility class with JDBC helper functions.

public class
JSR310Utils

This utility class provides access to JSR 310 classes.

public class
LegacyDateTimeUtils

Date and time utilities for Date, Time, and Timestamp classes.

public class
MathUtils

This is a utility class with mathematical helper functions.

public class
MemoryEstimator

Class MemoryEstimator.

public class
MemoryUnmapper

Unsafe memory unmapper.

public class
NetUtils

This utility class contains socket helper functions.

public class
NetworkConnectionInfo

Network connection information.

public class
OsgiDataSourceFactory

This class implements the OSGi DataSourceFactory interface for the H2 JDBC driver.

public class
public class
Permutations<
the element type
T
>

A class to iterate over all permutations of an array.

public class
Profiler

A simple CPU profiling tool similar to java -Xrunhprof.

public class
ScriptReader

This class can split SQL scripts to single SQL statements.

public class
SimpleColumnInfo

Metadata of a column.

public class
SmallLRUCache<
the key
K
,
the value
V
>

This class implements a small LRU object cache.

public class
SmallMap

A simple hash table with an optimization for the last recently used object.

public class
SoftValuesHashMap<
the key type
K
,
the value type
V
>

Map which stores items using SoftReference.

public class
SortedProperties

Sorted properties file.

public class
SourceCompiler

This class allows to convert source code to a class.

public class
StringUtils

A few String utility functions.

public abstract class
Task

A method call that is executed in a separate thread.

public class
TempFileDeleter

This class deletes temporary files when they are not used any longer.

public class
ThreadDeadlockDetector

Detects deadlocks between threads.

public abstract class
TimeZoneProvider

Provides access to time zone API.

public abstract class
Tool

Command line tools implement the tool interface so that they can be used in the H2 Console.

public class
Utils

This utility class contains miscellaneous functions.

public class
Utils10

Utilities with specialized implementations for Java 10 and later versions.

public class
Utils21

Utilities with specialized implementations for Java 21 and later versions.