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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadOnlyStore.ReadOnlyRepoWrapper
public ReadOnlyStore.ReadOnlyRepoWrapper(Repo<X> repo)
- Parameters:
repo - may not be null
isReady
public long isReady(long tid,
X environment)
throws Exception
- Specified by:
isReady in interface ReadOnlyRepo<X>
- Throws:
Exception
getDescription
public String getDescription()
- Specified by:
getDescription in interface ReadOnlyRepo<X>
Copyright © 2015 Apache Accumulo Project. All rights reserved.