org.apache.accumulo.gc
Class SimpleGarbageCollector
java.lang.Object
org.apache.accumulo.gc.SimpleGarbageCollector
- All Implemented Interfaces:
- GCMonitorService.Iface
public class SimpleGarbageCollector
- extends Object
- implements GCMonitorService.Iface
|
Constructor Summary |
SimpleGarbageCollector(org.apache.accumulo.gc.SimpleGarbageCollector.Opts opts)
Creates a new garbage collector. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleGarbageCollector
public SimpleGarbageCollector(org.apache.accumulo.gc.SimpleGarbageCollector.Opts opts)
- Creates a new garbage collector.
- Parameters:
opts - options
main
public static void main(String[] args)
throws UnknownHostException,
IOException
- Throws:
UnknownHostException
IOException
init
public void init(VolumeManager fs,
Instance instance,
Credentials credentials,
AccumuloConfiguration config)
- Initializes this garbage collector.
- Parameters:
fs - volume managerinstance - instancecredentials - credentialsconfig - system configuration
getStatus
public GCStatus getStatus(TInfo info,
TCredentials credentials)
- Specified by:
getStatus in interface GCMonitorService.Iface
Copyright © 2015 Apache Accumulo Project. All rights reserved.