microsoft/gctoolkit
Publicmirrored fromhttps://github.com/microsoft/gctoolkitAvailable
api/src/main/java/module-info.java
61lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | import com.microsoft.gctoolkit.jvm.PreUnifiedJavaVirtualMachine; |
| 5 | import com.microsoft.gctoolkit.jvm.UnifiedJavaVirtualMachine; |
| 6 | |
| 7 | /* |
| 8 | * Contains the core API for the Microsoft, Java Garbage Collection Toolkit. |
| 9 | * The toolkit is a GC log parser and a framework for consuming and extracting data from |
| 10 | * GC log events. |
| 11 | * <p> |
| 12 | * The main entry points are: |
| 13 | * <dl> |
| 14 | * <dt>{@link com.microsoft.gctoolkit.GCToolKit}</dt> |
| 15 | * <dd>This is the main API that an application will use.</dd> |
| 16 | * <dt>{@link com.microsoft.gctoolkit.io.GCLogFile}</dt> |
| 17 | * <dd>A GCLogFile is passed to GCToolKit for analysis.</dd> |
| 18 | * <dt>{@link com.microsoft.gctoolkit.jvm.JavaVirtualMachine}</dt> |
| 19 | * <dd>This contains the results from running an analysis on a GC log.</dd> |
| 20 | * <dt>{@link com.microsoft.gctoolkit.event.jvm.JVMEvent}</dt> |
| 21 | * <dd>The parser generates JVMEvents.</dd> |
| 22 | * <dt>{@link com.microsoft.gctoolkit.aggregator.Aggregator}</dt> |
| 23 | * <dd>An Aggregator captures JVMEvents for analysis.</dd> |
| 24 | * <dt>{@link com.microsoft.gctoolkit.aggregator.Aggregation}</dt> |
| 25 | * <dd>An Aggregation works with an Aggregator to collect and analyze data from JVMEvents.</dd> |
| 26 | * </dl> |
| 27 | */ |
| 28 | /** |
| 29 | * @uses com.microsoft.gctoolkit.jvm.JavaVirtualMachine |
| 30 | * @uses com.microsoft.gctoolkit.aggregator.Aggregator |
| 31 | */ |
| 32 | module com.microsoft.gctoolkit.api { |
| 33 | requires java.logging; |
| 34 | |
| 35 | exports com.microsoft.gctoolkit; |
| 36 | exports com.microsoft.gctoolkit.aggregator; |
| 37 | exports com.microsoft.gctoolkit.event; |
| 38 | exports com.microsoft.gctoolkit.event.g1gc; |
| 39 | exports com.microsoft.gctoolkit.event.generational; |
| 40 | exports com.microsoft.gctoolkit.event.jvm; |
| 41 | exports com.microsoft.gctoolkit.event.shenandoah; |
| 42 | exports com.microsoft.gctoolkit.event.zgc; |
| 43 | exports com.microsoft.gctoolkit.io; |
| 44 | exports com.microsoft.gctoolkit.jvm; |
| 45 | exports com.microsoft.gctoolkit.time; |
| 46 | exports com.microsoft.gctoolkit.message; |
| 47 | |
| 48 | uses com.microsoft.gctoolkit.aggregator.Aggregation; |
| 49 | uses com.microsoft.gctoolkit.jvm.JavaVirtualMachine; |
| 50 | uses com.microsoft.gctoolkit.jvm.Diarizer; |
| 51 | uses com.microsoft.gctoolkit.message.DataSourceParser; |
| 52 | uses com.microsoft.gctoolkit.message.DataSourceChannel; |
| 53 | uses com.microsoft.gctoolkit.message.DataSourceChannelListener; |
| 54 | uses com.microsoft.gctoolkit.message.JVMEventChannel; |
| 55 | uses com.microsoft.gctoolkit.message.JVMEventChannelListener; |
| 56 | |
| 57 | // todo: no need to load with SPI |
| 58 | provides com.microsoft.gctoolkit.jvm.JavaVirtualMachine with |
| 59 | PreUnifiedJavaVirtualMachine, |
| 60 | UnifiedJavaVirtualMachine; |
| 61 | } |
| 62 | |