com.sun.grizzly.http.jk.common
Class Shm14
java.lang.Object
com.sun.grizzly.http.jk.core.JkHandler
com.sun.grizzly.http.jk.common.JniHandler
com.sun.grizzly.http.jk.common.Shm
com.sun.grizzly.http.jk.common.Shm14
- All Implemented Interfaces:
- EventListener, MBeanRegistration, NotificationListener
public class Shm14
- extends Shm
Shm implementation using JDK1.4 nio.
- Author:
- Costin Manolache
Fields inherited from class com.sun.grizzly.http.jk.core.JkHandler |
domain, ERROR, HANDLE_FLUSH, HANDLE_RECEIVE_PACKET, HANDLE_SEND_PACKET, HANDLE_THREAD_END, id, LAST, mserver, name, next, nextName, OK, oname, properties, wEnv |
Constructor Summary |
Shm14()
|
Methods inherited from class com.sun.grizzly.http.jk.common.Shm |
destroy, execute, registerTomcat, setDump, setFile, setGroup, setHelp, setHost, setPort, setReset, setSize, setUnixSocket, setUnregister, unRegisterTomcat |
Methods inherited from class com.sun.grizzly.http.jk.common.JniHandler |
appendString, createMsgContext, destroyJkComponent, getJkHome, initJkComponent, initNative, nativeDispatch, pause, recycleNative, resume, setJkHome, setNativeAttribute, setNativeEndpoint |
Methods inherited from class com.sun.grizzly.http.jk.core.JkHandler |
addHandlerCallback, createMsgContext, getDomain, getId, getName, getNext, getObjectName, getProperty, handleNotification, postDeregister, postRegister, preDeregister, preRegister, setId, setName, setNext, setNext, setProperty, setWorkerEnv |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Shm14
public Shm14()
init
public void init()
- Description copied from class:
JniHandler
- You must call initNative() inside the component init()
- Overrides:
init
in class Shm
dumpScoreboard
public void dumpScoreboard(String file)
- Overrides:
dumpScoreboard
in class Shm
resetScoreboard
public void resetScoreboard()
throws IOException
- Overrides:
resetScoreboard
in class Shm
- Throws:
IOException
invoke
public int invoke(Msg msg,
MsgContext ep)
throws IOException
- Description copied from class:
JniHandler
- Base implementation for invoke. Dispatch the action to the native
code, where invoke() is called on the wrapped jk_bean.
- Overrides:
invoke
in class Shm
- Throws:
IOException
initCli
public void initCli()
- Description copied from class:
Shm
- Local initialization - for standalone use
- Overrides:
initCli
in class Shm
main
public static void main(String[] args)
Copyright © 2012 Oracle Corporation. All Rights Reserved.