public class DeleteUsageTask extends UsageTask
bookkeeperClient, isLoggedLocally, usage
Constructor and Description |
---|
DeleteUsageTask(org.dataone.bookkeeper.api.Usage usage,
BookKeeperClient bookkeeperClient)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected int |
reportToBookKeeper()
The child class needs to implement this method to detail how to report the usage to
the remote book keeper server.
|
run, setIsLoggedLocally
public DeleteUsageTask(org.dataone.bookkeeper.api.Usage usage, BookKeeperClient bookkeeperClient)
usage
- the usage will be reportedbookkeeperClient
- the client to report the usage to the remote serverprotected int reportToBookKeeper() throws java.lang.Exception
UsageTask
reportToBookKeeper
in class UsageTask
java.lang.Exception
Copyright © 2023 Regents of the University of California. All Rights Reserved.