public class CreateUsageTask extends UsageTask
bookkeeperClient, isLoggedLocally, usage| Constructor and Description |
|---|
CreateUsageTask(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, setIsLoggedLocallypublic CreateUsageTask(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
UsageTaskreportToBookKeeper in class UsageTaskjava.lang.ExceptionCopyright © 2023 Regents of the University of California. All Rights Reserved.