com.sleepycat.je.rep.util.ldiff
Class LDiffService

java.lang.Object
  extended by com.sleepycat.je.rep.utilint.ServiceDispatcher.ExecutingService
      extended by com.sleepycat.je.rep.util.ldiff.LDiffService

public class LDiffService
extends ServiceDispatcher.ExecutingService

Implementation of the LDiff service that process requests from the LDiff client. It's the network level interface to the remote processing done as part of the ldiff implementation. Note that the service only processes one request at a time, so as not to overload the node.


Nested Class Summary
(package private)  class LDiffService.LDiffServiceRunnable
           
 
Field Summary
static String NAME
           
 
Constructor Summary
LDiffService(ServiceDispatcher dispatcher, RepImpl repImpl)
           
 
Method Summary
 Runnable getRunnable(SocketChannel socketChannel)
           
 boolean isBusy()
          Used to limit a particular type of service to avoid excess load.
 void shutdown()
           
 
Methods inherited from class com.sleepycat.je.rep.utilint.ServiceDispatcher.ExecutingService
cancel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

LDiffService

public LDiffService(ServiceDispatcher dispatcher,
                    RepImpl repImpl)
Method Detail

shutdown

public void shutdown()

isBusy

public boolean isBusy()
Used to limit a particular type of service to avoid excess load.


getRunnable

public Runnable getRunnable(SocketChannel socketChannel)
Specified by:
getRunnable in class ServiceDispatcher.ExecutingService


Copyright (c) 2004-2012 Oracle. All rights reserved.