class MajorCompactor.Compact extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
private MajorCompactionRequest |
request |
private ServerName |
serverName |
Constructor and Description |
---|
Compact(ServerName serverName,
MajorCompactionRequest request) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
compactAndWait(MajorCompactionRequest request) |
private void |
compactRegionOnServer(MajorCompactionRequest request,
Admin admin,
String store) |
void |
run() |
private final ServerName serverName
private final MajorCompactionRequest request
Compact(ServerName serverName, MajorCompactionRequest request)
void compactAndWait(MajorCompactionRequest request) throws Exception
Exception
private void compactRegionOnServer(MajorCompactionRequest request, Admin admin, String store) throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.