Spring Data Key-Value

org.springframework.data.keyvalue.riak.core.io
Class RiakOutputStream<B,K>

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.ByteArrayOutputStream
          extended by org.springframework.data.keyvalue.riak.core.io.RiakOutputStream<B,K>
All Implemented Interfaces:
Closeable, Flushable

public class RiakOutputStream<B,K>
extends ByteArrayOutputStream

Author:
J. Brisbin

Field Summary
 
Fields inherited from class java.io.ByteArrayOutputStream
buf, count
 
Constructor Summary
RiakOutputStream(RiakTemplate riak, B bucket, K key)
           
 
Method Summary
 void flush()
           
 
Methods inherited from class java.io.ByteArrayOutputStream
close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo
 
Methods inherited from class java.io.OutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RiakOutputStream

public RiakOutputStream(RiakTemplate riak,
                        B bucket,
                        K key)
Method Detail

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.