[infinispan-dev] Grid Filesystem

Bela Ban bban at redhat.com
Wed Jan 4 04:06:33 EST 2012



On 1/3/12 9:33 PM, Marko Lukša wrote:

> Yes, since in GFS there's no concept of "working dir" as there is in
> regular filesystems, the working/base dir should always be "/".
> So, do you think a basePath constructor parameter would come in handy to
> anyone? If so, I can implement it (instead of just making sure paths
> with a leading / are equivalent to paths without it).


I suggest whatever you do, it should have the same semantics as the 
corresponding java.io.* classes.


> One more question: since GFS is still experimental, is there any reason
> against me renaming fields & variables to the project's code style
> (currently, some vars are named like "default_chunk_size"); also there's
> probably no reason against me making fields in GridOutputStream private?

Go ahead; this is my K&R style (I refuse to adopt the var/field naming 
conventions of Java !) :-)


-- 
Bela Ban
Lead JGroups (http://www.jgroups.org)
JBoss / Red Hat


More information about the infinispan-dev mailing list