Skip to content

Conversation

@mdumandag
Copy link
Contributor

@mdumandag mdumandag commented Dec 10, 2020

  • Validated the default time values with the Java client. We were
    sending -1 second for unset values, however the server
    was expecting -1 millisecond.

  • Updated some parameter names or docstrings to make them more
    clear.

  • Implemented support for max idle in map put, put_transient,
    put_if_absent and set. Also added some basic tests.

  • Made queue add to return IllegalStateError to make it
    more consistent with other clients.

Closes #258

- Validated the default time values with the Java client. We were
sending -1 second for unset values, however the server
was expecting -1 millisecond.

- Updated some parameter names or docstrings to make them more
clear.

- Implemented support for max idle in map `put`, `put_transient`,
`put_if_absent` and `set`. Also added some basic tests.

- Made queue `add` to return `IllegalStateError` to make it
more consistent with other clients.
@mdumandag mdumandag merged commit 03b9f1d into hazelcast:master Dec 10, 2020
@mdumandag mdumandag deleted the default-time-values branch December 10, 2020 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use -1 ms for unset times

2 participants