//-------------------------------------------------------------------------
private void setupCacheSource(final boolean lazyReads, final int cacheSize, final int flushDelay) {
InMemoryViewComputationCacheSource cache = new InMemoryViewComputationCacheSource(s_fudgeContext);
ViewComputationCacheServer server = new ViewComputationCacheServer(cache);
_serverSocket = new ServerSocketFudgeConnectionReceiver(cache.getFudgeContext(), server, Executors
.newCachedThreadPool());
_serverSocket.setLazyFudgeMsgReads(lazyReads);
_serverSocket.start();
_socket = new SocketFudgeConnection(cache.getFudgeContext());
_socket.setFlushDelay(flushDelay);