org.elasticsearch.monitor.dump
Class AbstractDump
java.lang.Object
org.elasticsearch.monitor.dump.AbstractDump
- All Implemented Interfaces:
- Dump
- Direct Known Subclasses:
- SimpleDump
public abstract class AbstractDump
- extends Object
- implements Dump
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.elasticsearch.monitor.dump.Dump |
finish |
AbstractDump
protected AbstractDump(long timestamp,
String cause,
@Nullable
Map<String,Object> context)
timestamp
public long timestamp()
- Specified by:
timestamp
in interface Dump
context
public Map<String,Object> context()
- Specified by:
context
in interface Dump
cause
public String cause()
- Specified by:
cause
in interface Dump
files
public File[] files()
- Specified by:
files
in interface Dump
createFile
public File createFile(String name)
throws DumpException
- Specified by:
createFile
in interface Dump
- Throws:
DumpException
doCreateFile
protected abstract File doCreateFile(String name)
throws DumpException
- Throws:
DumpException
createFileOutputStream
public OutputStream createFileOutputStream(String name)
throws DumpException
- Specified by:
createFileOutputStream
in interface Dump
- Throws:
DumpException
createFileWriter
public Writer createFileWriter(String name)
throws DumpException
- Specified by:
createFileWriter
in interface Dump
- Throws:
DumpException
Copyright © 2009-2012. All Rights Reserved.