com.sun.grizzly.http.jk.common
Class Shm14

java.lang.Object
  extended by com.sun.grizzly.http.jk.core.JkHandler
      extended by com.sun.grizzly.http.jk.common.JniHandler
          extended by com.sun.grizzly.http.jk.common.Shm
              extended by 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

Field Summary
 
Fields inherited from class com.sun.grizzly.http.jk.common.JniHandler
apr, JK_HANDLE_JNI_DISPATCH, JK_HANDLE_SHM_DISPATCH, jkHome, MB_NOTE, MSG_NOTE, nativeJkHandlerP
 
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()
           
 
Method Summary
 void dumpScoreboard(String file)
           
 void init()
          You must call initNative() inside the component init()
 void initCli()
          Local initialization - for standalone use
 int invoke(Msg msg, MsgContext ep)
          Base implementation for invoke.
static void main(String[] args)
           
 void resetScoreboard()
           
 
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
 

Constructor Detail

Shm14

public Shm14()
Method Detail

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.