Package org.apache.accumulo.fate
Class ReadOnlyStore.ReadOnlyRepoWrapper<X>
- java.lang.Object
-
- org.apache.accumulo.fate.ReadOnlyStore.ReadOnlyRepoWrapper<X>
-
- All Implemented Interfaces:
ReadOnlyRepo<X>
- Enclosing class:
- ReadOnlyStore<T>
protected static class ReadOnlyStore.ReadOnlyRepoWrapper<X> extends Object implements ReadOnlyRepo<X>
Decorates a Repo to make sure it is treated as a ReadOnlyRepo. Similar to ReadOnlyStore, won't allow subsequent user to cast a ReadOnlyRepo back to a mutable Repo.
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyRepoWrapper(Repo<X> repo)
-
-
-
Method Detail
-
isReady
public long isReady(long tid, X environment) throws Exception
- Specified by:
isReady
in interfaceReadOnlyRepo<X>
- Throws:
Exception
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceReadOnlyRepo<X>
-
-