Brian Nichols
Brian Nichols
IAerospikeClient is an interface and MySpike is a class. Shouldn't you be extending AerospikeClient?
To implement client methods: `class MySpike implements IAerospikeClient` To extend client: `class MySpike extends AerospikeClient`
Scala does not directly support implementing java interfaces with method signatures that only differ by variable args. There is a workaround that is described here: https://stackoverflow.com/questions/24132089/how-to-implement-java-interface-in-scala-with-multiple-variable-parameter-method
One way to warm up the pool is to issue sync or async read commands. In addition to creating connections, the applicable java code is also loaded and initialized. This...
We have decided on an alternate approach already used in our go client. A warmup method will be added to AerospikeClient. warmup(ConnectionType type, int count) will initialize "count" connections on...
If client minConnsPerNode > 0, it's highly recommended that client maxSocketIdle and server proto-fd-idle-ms be set to zero. This will prevent valid connections from being discarded due to expiration. The...
Yes. Also, make sure proto-fd-idle-ms is 0 on the server nodes.
Why is setting proto-fd-idle-ms to 0 not possible? The proto-fd-idle-ms default has been 0 since at least server version 4.9.
This will be fixed in the next client release.
The code sample creates a malformed string. I think the best solution is to detect and throw an exception in `estimateSizeUtf8()` when the string is malformed.