<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 10 Sep 2010, at 12:39, Tristan Tarrant wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Fri, Sep 10, 2010 at 13:21, Galder Zamarreņo <span dir="ltr"><<a href="mailto:galder@redhat.com">galder@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br><br>
</div>What temporary file system storage is this? Is it related to Cassandra itself? Or the fact that you use the FileCacheStore? ${java.io.tmpdir} is fine for the moment, but if the storage is pluggable, it would be good to have an in-memory counter part that can be used in unit testing, ala DummyInMemoryCacheStore.<br>
</blockquote><div><br></div><div>Yes it's for Cassandra: within the unit tests I start an embedded Cassandra server which needs access to the filesystem.</div></div></blockquote><div><br></div><div>Have a look at how the FileCacheStore tests set up and tear down temp filesystem space:</div><div><br></div><div><a href="http://fisheye.jboss.org/browse/Infinispan/branches/4.2.x/core/src/test/java/org/infinispan/loaders/file/FileCacheStoreTest.java?r=2030#l33">http://fisheye.jboss.org/browse/Infinispan/branches/4.2.x/core/src/test/java/org/infinispan/loaders/file/FileCacheStoreTest.java?r=2030#l33</a></div><br><blockquote type="cite"><div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">> Also, my code is based on a Cassandra Connection Pool I have developed (and is available at <a href="http://github.com/tristantarrant/cassandra-connection-pool" target="_blank">http://github.com/tristantarrant/cassandra-connection-pool</a>).<br>
><br>
> The connection pool and its dependencies (such as the cassandra 0.6.5 jar) are hosted on my private Maven repository. How should we handle that ? Publish them to JBoss' Nexus ?<br>
<br>
</div>What are the guarantees that your private repo will be up and running?</blockquote><div><br></div><div>Hopefully, for as long as possible. But the question is, do you trust my word for it ?</div><div>I've seen people use github as a Maven repo, but I don't really like that.</div></div></blockquote><div><br></div><div>Aren't these deployed in a maven repo elsewhere? E.g.,</div><div><br></div><div><a href="http://code.google.com/p/cassandra-maven-redist/">http://code.google.com/p/cassandra-maven-redist/</a></div><div><br></div><div>If you want to use JBoss' Nexus repo to push Cassandra artefacts, we could probably get you access to this.</div><div><br></div><div>Cheers</div><div>Manik</div><div><span class="Apple-style-span" style="font-size: 12px; ">--</span></div></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><div>Manik Surtani</div><div><a href="mailto:manik@jboss.org">manik@jboss.org</a></div><div>Lead, Infinispan</div><div>Lead, JBoss Cache</div><div><a href="http://www.infinispan.org">http://www.infinispan.org</a></div><div><a href="http://www.jbosscache.org">http://www.jbosscache.org</a></div><div><br></div></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<br></body></html>