public class SyncCleanupService extends Object implements CleanupService
| Modifier and Type | Field and Description |
|---|---|
static SyncCleanupService |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteRecursive(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FileSystem fileSystem) |
void |
shutdown() |
void |
shutdownNow() |
void |
start() |
public static SyncCleanupService INSTANCE
public void start()
start in interface CleanupServicepublic boolean deleteRecursive(org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FileSystem fileSystem)
throws IOException
deleteRecursive in interface CleanupServiceIOExceptionpublic void shutdown()
shutdown in interface CleanupServicepublic void shutdownNow()
shutdownNow in interface CleanupServiceCopyright © 2024 The Apache Software Foundation. All rights reserved.