All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.javagimmicks.concurrent.locks.LockRegistry Maven / Gradle / Ivy

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy