org.gridkit.jvmtool.stacktrace.StackTraceWriter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sjk-stacktrace Show documentation
Show all versions of sjk-stacktrace Show documentation
Thread dumps: capture and encoding
The newest version!
package org.gridkit.jvmtool.stacktrace;
import java.io.IOException;
public interface StackTraceWriter {
/**
* Appends another thread snapshot to stream.
* @throws IOException
*/
public void write(ThreadSnapshot snap) throws IOException;
/**
* Closes writer and flushes all underlying streams.
*/
public void close();
}