public class Janitor extends Object implements HasCleanup
An agent that can be used to defer cleanup operations to a later time. Users much implement the HasCleanup interface.
Type Params | Return Type | Name and description |
---|---|---|
public void |
cleanup() | |
public void |
register(HasCleanup object) |
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/Janitor.html