Examples of info()


Examples of org.opennebula.client.user.UserPool.info()

        // We will create a user pool and query some information.
        // The info method retrieves and saves internally the information
        // from OpenNebula.
        UserPool    userpool = new UserPool(oneClient);
        OneResponse rc       = userpool.info();

        // The response can be an error, in which case we have access to a
        // human-readable error message.
        if (rc.isError())
        {
View Full Code Here

Examples of org.opennebula.client.vm.VirtualMachine.info()

            }
            else
                System.out.println("ok.");

            // And now we can request its information.
            rc = vm.info();

            if(rc.isError())
                throw new Exception( rc.getErrorMessage() );

            System.out.println();
View Full Code Here

Examples of org.opennebula.client.vm.VirtualMachinePool.info()

            // The reference is lost, but we can ask OpenNebula about the VM
            // again. This time however, we are going to use the VM pool
            VirtualMachinePool vmPool = new VirtualMachinePool(oneClient);
            // Remember that we have to ask the pool to retrieve the information
            // from OpenNebula
            rc = vmPool.info();

            if(rc.isError())
                throw new Exception( rc.getErrorMessage() );

            System.out.println(
View Full Code Here

Examples of org.pentaho.platform.util.logging.SimpleLogger.info()

    logger.error( "This is a error with class as an object" + ILogger.ERROR, new Throwable() ); //$NON-NLS-1$

    logger.fatal( "This is a fatal with class as an object" + ILogger.FATAL ); //$NON-NLS-1$
    logger.fatal( "This is a fatal with class as an object" + ILogger.FATAL, new Throwable() ); //$NON-NLS-1$

    logger.info( "This is an info with class as an object" + ILogger.INFO ); //$NON-NLS-1$
    logger.info( "This is an info with class as an object" + ILogger.INFO, new Throwable() ); //$NON-NLS-1$

    logger.trace( "This is a trace with class as an object" + ILogger.TRACE, new Throwable() ); //$NON-NLS-1$
    logger.trace( "This is a trace with class as a string" + ILogger.TRACE, new Throwable() ); //$NON-NLS-1$
    logger.trace( "This is a trace test" ); //$NON-NLS-1$
View Full Code Here

Examples of org.quickserver.net.server.ClientHandler.info()

        synchronized(clientIdentifier.getObjectToSynchronize()) { 
          Iterator iterator = clientIdentifier.findAllClient();
          handler.sendClientMsg("+OK info follows");
          while(iterator.hasNext()) {
            foundClientHandler = (ClientHandler) iterator.next();
            handler.sendClientMsg(foundClientHandler.info());
          }
        }
        handler.sendClientMsg(".");
      } else {
        handler.sendClientMsg("-ERR Pool Closed");
View Full Code Here

Examples of org.sf.bee.commons.logging.Logger.info()

            if (cpu.hasErrors()) {
                logger.log(Level.SEVERE,
                        null, cpu.getLastError());
            }

            logger.info(report.toString());
        } catch (Throwable t) {
            logger.log(Level.SEVERE,
                    "Status Monitor unhandled exception: " + t.getMessage(), t);
        }
    }
View Full Code Here

Examples of org.slf4j.Logger.info()

 
  public RecursiveAppender() {
    System.out.println("in RecursiveAppender constructor");
    Logger logger = LoggerFactory.getLogger("RecursiveAppender"+diff);
    System.out.println("logger class="+logger.getClass().getName());
    logger.info("Calling a logger in the constructor");
  }
 
  protected void append(LoggingEvent arg0) {
  }
View Full Code Here

Examples of org.slf4j.cal10n.LocLogger.info()

    super.tearDown();
  }

  public void testSmoke() {
    LocLogger locLogger = llFactory_uk.getLocLogger(this.getClass());
    locLogger.info(Months.JAN);
    verify((LoggingEvent) listAppender.list.get(0), "January");
   
  }
}
View Full Code Here

Examples of org.snova.framework.trace.TUITrace.info()

    {
      TUITrace trace = new TUITrace();
      fr = new Snova(trace);
      if (!fr.start())
      {
        trace.info("Press any key to exit.");
        System.in.read();
        System.exit(-11);
      }
    }
    else if (args[0].equals("gui"))
View Full Code Here

Examples of org.springframework.data.redis.connection.RedisConnection.info()

  @Override
  protected void doHealthCheck(Health.Builder builder) throws Exception {
    RedisConnection connection = RedisConnectionUtils
        .getConnection(this.redisConnectionFactory);
    try {
      Properties info = connection.info();
      builder.up().withDetail("version", info.getProperty("redis_version"));
    }
    finally {
      RedisConnectionUtils.releaseConnection(connection,
          this.redisConnectionFactory);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.