[
https://issues.apache.org/jira/browse/METRON-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16675648#comment-16675648
]
ASF GitHub Bot commented on METRON-1853:
----------------------------------------
Github user mmiklavc commented on the issue:
https://github.com/apache/metron/pull/1251
> Should the resolver throw if there is a call after it is closed?
> or just return nothing? Do we have a test for that? Either way we should.
What do you think of a no-op on multiple invocations of close? This would
be consistent with the `Closeable` interface.
```
/**
* Closes this stream and releases any system resources associated
* with it. If the stream is already closed then invoking this
* method has no effect.
...
*/
public void close() throws IOException;
```
> Add shutdown hook to Stellar BaseFunctionResolver
> -------------------------------------------------
>
> Key: METRON-1853
> URL: https://issues.apache.org/jira/browse/METRON-1853
> Project: Metron
> Issue Type: Improvement
> Reporter: Michael Miklavcic
> Assignee: Michael Miklavcic
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)