net.sf.javagimmicks.concurrent.locks.LockRegistry 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;
import java.util.Collection;
interface LockRegistry
{
boolean isSharedFree(Collection resources);
void registerShared(Collection resources);
void unregisterShared(Collection resources);
boolean isExclusiveFree(Collection resources);
void registerExclusive(Collection resources);
void unregisterExclusive(Collection resources);
void dump(Writer out) throws IOException;
}