Package com.im.df.impl.db
Class MultiObjectLock
- java.lang.Object
-
- com.im.df.impl.db.MultiObjectLock
-
public final class MultiObjectLock extends Object
-
-
Constructor Summary
Constructors Constructor Description MultiObjectLock(Object owner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
lockAll(Comparable<?>... objects)
void
lockAll(Collection<? extends Comparable<?>> objects)
void
unlockAll(Comparable<?>... objects)
void
unlockAll(Collection<? extends Comparable<?>> objects)
-
-
-
Constructor Detail
-
MultiObjectLock
public MultiObjectLock(Object owner)
-
-
Method Detail
-
lockAll
public void lockAll(Comparable<?>... objects)
-
lockAll
public void lockAll(Collection<? extends Comparable<?>> objects)
-
unlockAll
public void unlockAll(Comparable<?>... objects)
-
unlockAll
public void unlockAll(Collection<? extends Comparable<?>> objects)
-
-