Interface SingleUseChecker<C>
-
- Type Parameters:
C
- The object class.
- All Known Implementing Classes:
DefaultDPoPSingleUseChecker
public interface SingleUseChecker<C>
Single use checker interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
markAsUsed(C object)
Marks the specified object as used.
-
-
-
Method Detail
-
markAsUsed
void markAsUsed(C object) throws AlreadyUsedException
Marks the specified object as used.- Parameters:
object
- The object to mark as used. Must not benull
.- Throws:
AlreadyUsedException
- If the object was already marked as used.
-
-