Skip to content

RequestScheduling should expect getting FlowController ResourceReservation to fail. #22

@mwalkiewicz

Description

@mwalkiewicz

Currently RequestScheduling assumes that flowController.asyncRequestResource(requestResourcesDescription).get() only throws InterruptedException, and ExecutionExceptions shouldn't happen.
It was noticed that FlowController implementation can be user-provided and the user might want to throw the exception to reject the reservation request, for example the user might want to reject read requests when there are no free tokens in FlowController to leave space for more important writes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions