You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@gora.apache.org by Henry JunYoung KIM <he...@gmail.com> on 2012/08/27 07:14:42 UTC

is there an auto-flush mode in a gora?

Hi, gora users.

are there some options to turn of for auto-flushing data?

thanks .


- Henry


Re: is there an auto-flush mode in a gora?

Posted by Lewis John Mcgibbney <le...@gmail.com>.
Hi Henry,

Currently AFAIK autoflushing is datastore specific in so far that
datastore implementations may optimize their writing by deferring the
actual put / delete operations until this moment (as specificed in the
flush method in [0]).

It appears that in HBase store this can be pretty easily overridden by
specifying the hbase.client.autoflush.default boolean accordingly.

So far is has been left up to the user to alter the code and recompile
to suit their specific requirements this was the primary reason to
release Gora as source only (instead of binary).

If you have some suggestion for better implementation we would love to
hear them.

Thanks

Lewis

[0] https://svn.apache.org/repos/asf/gora/trunk/gora-core/src/main/java/org/apache/gora/store/DataStore.java

On Mon, Aug 27, 2012 at 6:14 AM, Henry JunYoung KIM
<he...@gmail.com> wrote:
> Hi, gora users.
>
> are there some options to turn of for auto-flushing data?
>
> thanks .
>
>
> - Henry
>



-- 
Lewis