Class WriteAccessController
- java.lang.Object
-
- org.apache.jackrabbit.oak.segment.remote.WriteAccessController
-
public class WriteAccessController extends Object
-
-
Constructor Summary
Constructors Constructor Description WriteAccessController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckWritingAllowed()Blocks the current thread until writing is allowed.voiddisableWriting()voidenableWriting()booleanisWritingAllowed()
-
-
-
Method Detail
-
disableWriting
public void disableWriting()
-
enableWriting
public void enableWriting()
-
checkWritingAllowed
public void checkWritingAllowed()
Blocks the current thread until writing is allowed.
-
isWritingAllowed
public boolean isWritingAllowed()
- Returns:
- true if writing is allowed, false otherwise
-
-