Nuxeo Enterprise Platform 5.4

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:
java.lang.Runnable

public class MapperInvoker
extends java.lang.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
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MapperInvoker(Repository repository, java.lang.String name, InvalidationsQueue eventQueue, MapperClientInfo info)
           
 
Method Summary
 java.lang.Object call(java.lang.String methodName, java.lang.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,
                     java.lang.String name,
                     InvalidationsQueue eventQueue,
                     MapperClientInfo info)
              throws java.lang.Throwable
Throws:
java.lang.Throwable
Method Detail

init

public void init()
          throws java.lang.Throwable
Throws:
java.lang.Throwable

close

public void close()
           throws java.lang.Throwable
Throws:
java.lang.Throwable

call

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

run

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

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.