Description
To prevent a silent failure when calling the size() method on a RemoteSpace an exception is thrown instead.
Motivation
This makes it easier to debug why a size method call on a Space that may or may not be a remote space fails to produce correct results. It also more clearly communicates that this is intended behavior and not due to misuse or concurrency issues.
Description To prevent a silent failure when calling the
size()
method on aRemoteSpace
an exception is thrown instead.Motivation This makes it easier to debug why a size method call on a Space that may or may not be a remote space fails to produce correct results. It also more clearly communicates that this is intended behavior and not due to misuse or concurrency issues.