org.elasticsearch.monitor.dump
Class SimpleDump

java.lang.Object
  extended by org.elasticsearch.monitor.dump.AbstractDump
      extended by org.elasticsearch.monitor.dump.SimpleDump
All Implemented Interfaces:
Dump

public class SimpleDump
extends AbstractDump


Constructor Summary
SimpleDump(long timestamp, java.lang.String cause, java.util.Map<java.lang.String,java.lang.Object> context, java.io.File location)
           
 
Method Summary
protected  java.io.File doCreateFile(java.lang.String name)
           
 void finish()
           
 
Methods inherited from class org.elasticsearch.monitor.dump.AbstractDump
cause, context, createFile, createFileOutputStream, createFileWriter, files, timestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDump

public SimpleDump(long timestamp,
                  java.lang.String cause,
                  @Nullable
                  java.util.Map<java.lang.String,java.lang.Object> context,
                  java.io.File location)
           throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

doCreateFile

protected java.io.File doCreateFile(java.lang.String name)
                             throws DumpException
Specified by:
doCreateFile in class AbstractDump
Throws:
DumpException

finish

public void finish()
            throws DumpException
Throws:
DumpException