Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.net
Class MapperInvoker

java.lang.Object
  extended by java.lang.Thread
      extended by org.nuxeo.ecm.core.storage.sql.net.MapperInvoker
All Implemented Interfaces:
Runnable

public class MapperInvoker
extends Thread

Will execute in a separate thread the commands passed through call(java.lang.String, java.lang.Object...).


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MapperInvoker(Repository repository, String name, InvalidationsQueue eventQueue, MapperClientInfo info)
           
 
Method Summary
 Object call(String methodName, Object... args)
           
 void close()
           
 void init()
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapperInvoker

public MapperInvoker(Repository repository,
                     String name,
                     InvalidationsQueue eventQueue,
                     MapperClientInfo info)
              throws Throwable
Throws:
Throwable
Method Detail

init

public void init()
          throws Throwable
Throws:
Throwable

close

public void close()
           throws Throwable
Throws:
Throwable

call

public Object call(String methodName,
                   Object... args)
            throws Throwable
Throws:
Throwable

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.