Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None

      Description

      Currently the following pattern is used for storing an State Object:

      State<ByteChannel> state = mgr.getOrCreateState(key);
      ByteChannel channel = ... create a ByteChannel from a file, etc ...
      state.setContents(channel);
      state.record();

      We might want to also add an blocking State:recordFully method as well and make the record method non-blocking. Similar to the way DataInputStream:readFully works: http://docs.oracle.com/javase/1.4.2/docs/api/java/io/DataInput.html#readFully(byte[])

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            mirceamarkus
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: