org.elasticsearch.monitor.dump
Class SimpleDumpGenerator

java.lang.Object
  extended by org.elasticsearch.monitor.dump.SimpleDumpGenerator
All Implemented Interfaces:
DumpGenerator

public class SimpleDumpGenerator
extends Object
implements DumpGenerator


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.monitor.dump.DumpGenerator
DumpGenerator.Result
 
Constructor Summary
SimpleDumpGenerator(File dumpLocation, Map<String,DumpContributor> contributors)
           
 
Method Summary
 DumpGenerator.Result generateDump(String cause, Map<String,Object> context)
           
 DumpGenerator.Result generateDump(String cause, Map<String,Object> context, String... contributors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDumpGenerator

public SimpleDumpGenerator(File dumpLocation,
                           Map<String,DumpContributor> contributors)
Method Detail

generateDump

public DumpGenerator.Result generateDump(String cause,
                                         @Nullable
                                         Map<String,Object> context)
                                  throws DumpGenerationFailedException
Specified by:
generateDump in interface DumpGenerator
Throws:
DumpGenerationFailedException

generateDump

public DumpGenerator.Result generateDump(String cause,
                                         @Nullable
                                         Map<String,Object> context,
                                         String... contributors)
                                  throws DumpGenerationFailedException
Specified by:
generateDump in interface DumpGenerator
Throws:
DumpGenerationFailedException


Copyright © 2009-2012. All Rights Reserved.