Skip to content

Replace Closeable interface by explicit stop method on interfaces/implementations that require it #629

Closed
@metacosm

Description

@metacosm

The issue is that we have an asymmetry between start and close method. We also don't leverage the try-with-resource functionality afforded by Closeable so making things explicit might be better by having an interface that would have both start & stop methods so that we have to handle that start scenario explicitly as well.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions