Class ServerAmpleImpl
- java.lang.Object
-
- org.apache.accumulo.core.metadata.schema.AmpleImpl
-
- org.apache.accumulo.server.metadata.ServerAmpleImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.metadata.schema.Ample
Ample.DataLevel, Ample.ReadConsistency, Ample.TabletMutator, Ample.TabletsMutator
-
-
Constructor Summary
Constructors Constructor Description ServerAmpleImpl(ServerContext context)
-
Method Summary
-
Methods inherited from class org.apache.accumulo.core.metadata.schema.AmpleImpl
readTablet, readTablets
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.metadata.schema.Ample
readTablet, readTablet, readTablets
-
-
-
-
Constructor Detail
-
ServerAmpleImpl
public ServerAmpleImpl(ServerContext context)
-
-
Method Detail
-
mutateTablet
public Ample.TabletMutator mutateTablet(KeyExtent extent)
- Specified by:
mutateTablet
in interfaceAmple
-
mutateTablets
public Ample.TabletsMutator mutateTablets()
- Specified by:
mutateTablets
in interfaceAmple
-
putGcCandidates
public void putGcCandidates(TableId tableId, Collection<StoredTabletFile> candidates)
- Specified by:
putGcCandidates
in interfaceAmple
-
putGcFileAndDirCandidates
public void putGcFileAndDirCandidates(TableId tableId, Collection<ReferenceFile> candidates)
- Specified by:
putGcFileAndDirCandidates
in interfaceAmple
-
deleteGcCandidates
public void deleteGcCandidates(Ample.DataLevel level, Collection<String> paths)
- Specified by:
deleteGcCandidates
in interfaceAmple
-
getGcCandidates
public Iterator<String> getGcCandidates(Ample.DataLevel level)
- Specified by:
getGcCandidates
in interfaceAmple
-
createDeleteMutation
public Mutation createDeleteMutation(ReferenceFile tabletFilePathToRemove)
- Specified by:
createDeleteMutation
in interfaceAmple
-
createDeleteMutation
public Mutation createDeleteMutation(StoredTabletFile pathToRemove)
-
putExternalCompactionFinalStates
public void putExternalCompactionFinalStates(Collection<ExternalCompactionFinalState> finalStates)
- Specified by:
putExternalCompactionFinalStates
in interfaceAmple
-
getExternalCompactionFinalStates
public Stream<ExternalCompactionFinalState> getExternalCompactionFinalStates()
- Specified by:
getExternalCompactionFinalStates
in interfaceAmple
-
deleteExternalCompactionFinalStates
public void deleteExternalCompactionFinalStates(Collection<ExternalCompactionId> statusesToDelete)
- Specified by:
deleteExternalCompactionFinalStates
in interfaceAmple
-
putScanServerFileReferences
public void putScanServerFileReferences(Collection<ScanServerRefTabletFile> scanRefs)
- Specified by:
putScanServerFileReferences
in interfaceAmple
-
getScanServerFileReferences
public Stream<ScanServerRefTabletFile> getScanServerFileReferences()
- Specified by:
getScanServerFileReferences
in interfaceAmple
-
deleteScanServerFileReferences
public void deleteScanServerFileReferences(String serverAddress, UUID scanServerLockUUID)
- Specified by:
deleteScanServerFileReferences
in interfaceAmple
-
deleteScanServerFileReferences
public void deleteScanServerFileReferences(Collection<ScanServerRefTabletFile> refsToDelete)
- Specified by:
deleteScanServerFileReferences
in interfaceAmple
-
-