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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user