Class SingletonReservation
- java.lang.Object
-
- org.apache.accumulo.core.singletons.SingletonReservation
-
- All Implemented Interfaces:
AutoCloseable
public class SingletonReservation extends Object implements AutoCloseable
- See Also:
SingletonManager.getClientReservation()
-
-
Constructor Summary
Constructors Constructor Description SingletonReservation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
static SingletonReservation
noop()
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
-
noop
public static SingletonReservation noop()
- Returns:
- A reservation where the close method is a no-op.
-
-