Tabnine Logo
RemoteMBeanScheduler.getAttributes
Code IndexAdd Tabnine to your IDE (free)

How to use
getAttributes
method
in
org.quartz.impl.RemoteMBeanScheduler

Best Java code snippets using org.quartz.impl.RemoteMBeanScheduler.getAttributes (Showing top 4 results out of 315)

origin: quartz-scheduler/quartz

public SchedulerMetaData getMetaData() throws SchedulerException {
  AttributeList attributeList =
    getAttributes(
      new String[] {
        "SchedulerName",
origin: quartz-scheduler/quartz

public SchedulerMetaData getMetaData() throws SchedulerException {
  AttributeList attributeList =
    getAttributes(
      new String[] {
        "SchedulerName",
origin: com.opensymphony.quartz/com.springsource.org.quartz

public SchedulerMetaData getMetaData() throws SchedulerException {
  AttributeList attributeList = 
    getAttributes(
      new String[] {
        "schedulerName",
        "schedulerInstanceId",
        "inStandbyMode",
        "shutdown",
        "jobStoreClass",
        "threadPoolClass",
        "threadPoolSize",
        "version"
      });
  
  return new SchedulerMetaData(
      (String)attributeList.get(0),
      (String)attributeList.get(1),
      getClass(), true, isStarted(), 
      ((Boolean)attributeList.get(2)).booleanValue(), 
      ((Boolean)attributeList.get(3)).booleanValue(), 
      (Date)invoke("runningSince", new Object[] {}, new String[] {}), 
      ((Integer)invoke("numJobsExecuted", new Object[] {}, new String[] {})).intValue(),
      (Class)attributeList.get(4),
      ((Boolean)invoke("supportsPersistence", new Object[] {}, new String[] {})).booleanValue(),
      (Class)attributeList.get(5),
      ((Integer)attributeList.get(6)).intValue(),
      (String)attributeList.get(7));
}
origin: quartz/quartz-all

public SchedulerMetaData getMetaData() throws SchedulerException {
  AttributeList attributeList = 
    getAttributes(
      new String[] {
        "schedulerName",
        "schedulerInstanceId",
        "inStandbyMode",
        "shutdown",
        "jobStoreClass",
        "threadPoolClass",
        "threadPoolSize",
        "version"
      });
  
  return new SchedulerMetaData(
      (String)attributeList.get(0),
      (String)attributeList.get(1),
      getClass(), true, isStarted(), 
      ((Boolean)attributeList.get(2)).booleanValue(), 
      ((Boolean)attributeList.get(3)).booleanValue(), 
      (Date)invoke("runningSince", new Object[] {}, new String[] {}), 
      ((Integer)invoke("numJobsExecuted", new Object[] {}, new String[] {})).intValue(),
      (Class)attributeList.get(4),
      ((Boolean)invoke("supportsPersistence", new Object[] {}, new String[] {})).booleanValue(),
      (Class)attributeList.get(5),
      ((Integer)attributeList.get(6)).intValue(),
      (String)attributeList.get(7));
}
org.quartz.implRemoteMBeanSchedulergetAttributes

Javadoc

Get the given attributes of the remote Scheduler MBean.

Popular methods of RemoteMBeanScheduler

  • getAttribute
  • getSchedulerName
    Returns the name of the Scheduler.
  • initialize
    Initialize this RemoteMBeanScheduler instance, connecting to the remote MBean server.
  • invoke
    Invoke the given operation on the remote Scheduler MBean.
  • setSchedulerObjectName
    Set the name under which the Scheduler MBean is registered on the remote MBean server.
  • triggerJob
    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associ
  • isInStandbyMode
    Calls the equivalent method on the 'proxied' QuartzScheduler.
  • isStarted
    Whether the scheduler has been started. Note: This only reflects whether #start() has ever been call
  • setSchedulingContext
    Set the scheduling context of this proxy.
  • standby
    Calls the equivalent method on the 'proxied' QuartzScheduler.
  • toBoolean
  • triggerJobWithVolatileTrigger
    Calls the equivalent method on the 'proxied' QuartzScheduler, passing the SchedulingContext associ
  • toBoolean,
  • triggerJobWithVolatileTrigger

Popular in Java

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now