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 CleanupService
public boolean deleteRecursive(org.apache.hadoop.fs.Path path, org.apache.hadoop.fs.FileSystem fileSystem) throws IOException
deleteRecursive
in interface CleanupService
IOException
public void shutdown()
shutdown
in interface CleanupService
public void shutdownNow()
shutdownNow
in interface CleanupService
Copyright © 2023 The Apache Software Foundation. All rights reserved.