[
https://issues.jboss.org/browse/ISPN-449?page=com.atlassian.jira.plugin.s...
]
Tristan Tarrant commented on ISPN-449:
--------------------------------------
A possible approach using java.io.Reader and java.io.Writer (inspired by JDBC's LOB
support):
{{
Writer w = cache.putStream(k);
w.write(...)
w.close();
}}
The server will not put the entry in the cache until an EOF is received.
Reading would be implemented similarly:
{{Reader r = cache.getStream(k);
r.read(...);
r.close();}}
Additionally we could support skip() to allow reading / writing from a specific offset.
Streaming over Hot Rod
----------------------
Key: ISPN-449
URL:
https://issues.jboss.org/browse/ISPN-449
Project: Infinispan
Issue Type: Feature Request
Components: Remote Protocols
Reporter: Galder ZamarreƱo
Assignee: Galder ZamarreƱo
Labels: hackathon
Extend large object support/streaming to Hot Rod
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)