Judging by this method from RMISynchronousCacheReplicator:

static List listRemoteCachePeers(Ehcache cache) {
        CacheManagerPeerProvider provider =
        cache.getCacheManager().getCacheManagerPeerProvider("RMI");
        return provider.listRemoteCachePeers(cache);
    }

we need to return "RMI" from getScheme(). Zell can confirm that we are meant to
work with the RMISynchronousCacheReplicator but the repeated freakoutey stack
traces in the log incline me to believe so.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5878 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2009-07-18 00:55:50 +00:00
parent 7e8a42487d
commit db2ef0f8f0
@@ -146,7 +146,7 @@ public class EHCachePeerCoordinator extends CacheManagerPeerProviderFactory
public String getScheme ()
{
return "presents_peer";
return "RMI";
}
protected void addCacheForNode (List<CachePeer> result, String nodeName, String cacheName)