@FunctionalInterface public interface RedisElementWriter<T>
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
write(T element)
Serialize a
element to its ByteBuffer representation. |
ByteBuffer write(T element)
element
to its ByteBuffer
representation.element
- ByteBuffer
representing element
in its binary form.Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.