net.sf.javagimmicks.concurrent.locks.LockStatistics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gimmicks-concurrent Show documentation
Show all versions of gimmicks-concurrent Show documentation
Utilities for multi-threaded programming
The newest version!
package net.sf.javagimmicks.concurrent.locks;
import java.io.IOException;
import java.io.Writer;
/**
* Provides statistical (and other) information about currently held locks.
*
* @param
* The type of the internally used resource identifiers
*/
public interface LockStatistics
{
/**
* Dumps detailed information about the internally held locks into the give
* {@link Writer}.
*
* @param w
* the {@link Writer} to dump into
*/
void dump(Writer w) throws IOException;
}