public class GarbageCollectorAnnotator
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
| Modifier and Type | Field and Description |
|---|---|
static String |
RUN_EVERY_N_DOCUMENTS |
| Constructor and Description |
|---|
GarbageCollectorAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
static long |
freeMemory() |
static long |
maxMemory() |
void |
process(org.apache.uima.jcas.JCas jCas) |
static void |
runGC()
"Forces" to run garbage collection by calling Runtime.gc() using several
method calls
|
getLogger, initializegetRequiredCasInterface, processgetCasInstancesRequired, hasNext, nextpublic static final String RUN_EVERY_N_DOCUMENTS
public void process(org.apache.uima.jcas.JCas jCas)
throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBaseorg.apache.uima.analysis_engine.AnalysisEngineProcessExceptionpublic static void runGC()
public static long freeMemory()
public static long maxMemory()
Copyright © 2015 Bluebrain Project. All rights reserved.