com.caucho.server.admin
Class ManagerActor

java.lang.Object
  extended by com.caucho.bam.stream.AbstractMessageStream
      extended by com.caucho.bam.actor.SimpleActor
          extended by com.caucho.server.admin.ManagerActor
All Implemented Interfaces:
Actor, ActorHolder, ManagedActor, MessageStream

public class ManagerActor
extends SimpleActor


Constructor Summary
ManagerActor()
           
 
Method Summary
 java.lang.String addLicense(long id, java.lang.String to, java.lang.String from, LicenseAddQuery query)
           
 java.lang.String addUser(long id, java.lang.String to, java.lang.String from, AddUserQuery query)
           
 java.lang.String callJmx(long id, java.lang.String to, java.lang.String from, JmxCallQuery query)
           
 java.lang.String doHeapDump(long id, java.lang.String to, java.lang.String from, HeapDumpQuery query)
           
 java.lang.String doJmxDump(long id, java.lang.String to, java.lang.String from, JmxDumpQuery query)
           
 java.lang.String doThreadDump(long id, java.lang.String to, java.lang.String from, ThreadDumpQuery query)
           
 Path getHprofDir()
           
 void init()
           
 java.lang.String listJmx(long id, java.lang.String to, java.lang.String from, JmxListQuery query)
           
 java.lang.String listRestarts(long id, java.lang.String to, java.lang.String from, ListRestartsQuery query)
           
 java.lang.String listUsers(long id, java.lang.String to, java.lang.String from, ListUsersQuery query)
           
 java.lang.String pdfReport(long id, java.lang.String to, java.lang.String from, PdfReportQuery query)
           
 java.lang.String profile(long id, java.lang.String to, java.lang.String from, ProfileQuery query)
           
 java.lang.String removeUser(long id, java.lang.String to, java.lang.String from, RemoveUserQuery query)
           
 void setHprofDir(java.lang.String hprofDir)
           
 java.lang.String setJmx(long id, java.lang.String to, java.lang.String from, JmxSetQuery query)
           
 java.lang.String setLogLevel(long id, java.lang.String to, java.lang.String from, LogLevelQuery query)
           
 
Methods inherited from class com.caucho.bam.actor.SimpleActor
getActor, getAddress, getBroker, getMailbox, getSender, setAddress, setBroker, setMailbox
 
Methods inherited from class com.caucho.bam.stream.AbstractMessageStream
isClosed, message, messageError, query, queryError, queryResult, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.bam.stream.MessageStream
isClosed, message, messageError, query, queryError, queryResult
 

Constructor Detail

ManagerActor

public ManagerActor()
Method Detail

init

@PostConstruct
public void init()

getHprofDir

public Path getHprofDir()

setHprofDir

public void setHprofDir(java.lang.String hprofDir)

addUser

@Query
public java.lang.String addUser(long id,
                                      java.lang.String to,
                                      java.lang.String from,
                                      AddUserQuery query)

listUsers

@Query
public java.lang.String listUsers(long id,
                                        java.lang.String to,
                                        java.lang.String from,
                                        ListUsersQuery query)

removeUser

@Query
public java.lang.String removeUser(long id,
                                         java.lang.String to,
                                         java.lang.String from,
                                         RemoveUserQuery query)

doThreadDump

@Query
public java.lang.String doThreadDump(long id,
                                           java.lang.String to,
                                           java.lang.String from,
                                           ThreadDumpQuery query)

doHeapDump

@Query
public java.lang.String doHeapDump(long id,
                                         java.lang.String to,
                                         java.lang.String from,
                                         HeapDumpQuery query)

listJmx

@Query
public java.lang.String listJmx(long id,
                                      java.lang.String to,
                                      java.lang.String from,
                                      JmxListQuery query)

doJmxDump

@Query
public java.lang.String doJmxDump(long id,
                                        java.lang.String to,
                                        java.lang.String from,
                                        JmxDumpQuery query)

setJmx

@Query
public java.lang.String setJmx(long id,
                                     java.lang.String to,
                                     java.lang.String from,
                                     JmxSetQuery query)

callJmx

@Query
public java.lang.String callJmx(long id,
                                      java.lang.String to,
                                      java.lang.String from,
                                      JmxCallQuery query)

setLogLevel

@Query
public java.lang.String setLogLevel(long id,
                                          java.lang.String to,
                                          java.lang.String from,
                                          LogLevelQuery query)

pdfReport

@Query
public java.lang.String pdfReport(long id,
                                        java.lang.String to,
                                        java.lang.String from,
                                        PdfReportQuery query)

profile

@Query
public java.lang.String profile(long id,
                                      java.lang.String to,
                                      java.lang.String from,
                                      ProfileQuery query)

listRestarts

@Query
public java.lang.String listRestarts(long id,
                                           java.lang.String to,
                                           java.lang.String from,
                                           ListRestartsQuery query)

addLicense

@Query
public java.lang.String addLicense(long id,
                                         java.lang.String to,
                                         java.lang.String from,
                                         LicenseAddQuery query)