Examples of Status


Examples of javax.cache.Status

   * @param jcache backing JCache Cache instance
   * @param allowNullValues whether to accept and convert null values for this cache
   */
  public JCacheCache(javax.cache.Cache<?,?> jcache, boolean allowNullValues) {
    Assert.notNull(jcache, "Cache must not be null");
    Status status = jcache.getStatus();
    Assert.isTrue(Status.STARTED.equals(status),
        "A 'started' cache is required - current cache is " + status.toString());
    this.cache = jcache;
    this.allowNullValues = allowNullValues;
  }
View Full Code Here

Examples of javax.net.ssl.SSLEngineResult.Status

    }

    private void tearDownSSLConnection() throws Exception
    {
        SSLEngineResult result = engine.wrap(ByteBuffer.allocate(0), netData);
        Status status = result.getStatus();
        int read   = result.bytesProduced();
        while (status != Status.CLOSED)
        {
            if (status == Status.BUFFER_OVERFLOW)
            {
View Full Code Here

Examples of javax.ws.rs.core.Response.Status

        String messageFormat = "%s occured during the handlers chain invocation";
        String exceptionName = t.getClass().getSimpleName();
        if (t instanceof WebApplicationException) {
            WebApplicationException wae = (WebApplicationException)t;
            int statusCode = wae.getResponse().getStatus();
            Status status = Response.Status.fromStatusCode(statusCode);
            String statusSep = "";
            String statusMessage = "";
            if (status != null) {
                statusSep = " - ";
                statusMessage = status.toString();
            }
            exceptionName =
                String.format("%s (%d%s%s)", exceptionName, statusCode, statusSep, statusMessage);
            if (statusCode >= 500) {
                logger.error(String.format(messageFormat, exceptionName), t);
View Full Code Here

Examples of jnode.ndl.FtnNdlAddress.Status

        Matcher mZone = pZone.matcher(line);
        Matcher mNet = pNet.matcher(line);
        Matcher mReg = pReg.matcher(line);
        Matcher mNode = pNode.matcher(line);
        String ftn = "";
        Status status = Status.NORMAL;
        if (mZone.matches()) {
          zone = mZone.group(1);
          net = zone;
          ftn = zone + ":" + net + "/0";
        } else if (mReg.matches()) {
View Full Code Here

Examples of l2p.loginserver.LoginController.Status

    _ncotp = decrypted[0x7c];
    _ncotp |= decrypted[0x7d] << 8;
    _ncotp |= decrypted[0x7e] << 16;
    _ncotp |= decrypted[0x7f] << 24;
    LoginController lc = LoginController.getInstance();
    Status status = lc.tryAuthLogin(_user, _password, client);
    if(status.state == State.IN_USE)
    {
      L2LoginClient oldClient = lc.getAuthedClient(_user);
      // кикаем другого клиента, подключенного к логину
      if(oldClient != null)
View Full Code Here

Examples of l2p.status.Status

        Util.waitForFreePorts(Config.GAMESERVER_HOSTNAME, Config.PORTS_GAME);
        L2DatabaseFactory.getInstance();
        Log.InitGSLoggers();
        gameServer = new GameServer();
        if (Config.IS_TELNET_ENABLED) {
            statusServer = new Status(Server.MODE_GAMESERVER);
            statusServer.start();
        } else {
            _log.info("Telnet server is currently disabled.");
        }
        Util.gc(5, 1000);
View Full Code Here

Examples of lib.Status

           
        } catch (IndexOutOfBoundsException e){
            throw new StatusException("Not possible to get second entry of context menu",e);
        }
       
        if (xHelp == null) throw new StatusException(new Status("second entry of context menu is NULL", false));
       
        XAccessibleContext xHelpCont = xHelp.getAccessibleContext();
       
        if ( xHelpCont == null )
            throw new StatusException(new Status("No able to retrieve accessible context from first entry of context menu",false));
       
        String aAccessibleName = xHelpCont.getAccessibleName();
        if ( !aAccessibleName.equals( "Help" )) {
            log.println("Accessible name found = "+aAccessibleName );
            log.println("Second entry of context menu is not from context menu interceptor");
View Full Code Here

Examples of net.fortuna.ical4j.model.property.Status

        }
        return new Double(iCalObj.getLevel());
    }

    protected static String fromStatus(PropertyList propertyList) {
        Status iCalObj = (Status) propertyList.getProperty(Status.STATUS);
        if (iCalObj == null) {
            return null;
        }
        return fromStatusMap.get(iCalObj.getValue());
    }
View Full Code Here

Examples of net.geco.model.Status

    }
  }

  private void mergeRunnerData(RunnerRaceData runnerData, Vector<Stage> poolStages) {
    long mergedTime = 0;
    Status mergedStatus = Status.OK;
    for (Stage stage : poolStages) {
      RunnerRaceData poolData = stage.registry().findRunnerData(runnerData.getRunner().getEcard());
      mergedTime = mergeTime(mergedTime, poolData.getResult().getRacetime());
      mergedStatus = mergeStatus(mergedStatus, poolData.getResult().getStatus());
    }
View Full Code Here

Examples of net.minecraftforge.common.ForgeVersion.Status

        RenderingRegistry.registerBlockHandler(RenderBlockFluid.instance);
    }

    public static void renderMainMenu(GuiMainMenu gui, FontRenderer font, int width, int height)
    {
        Status status = ForgeVersion.getStatus();
        if (status == BETA || status == BETA_OUTDATED)
        {
            // render a warning at the top of the screen,
            String line = I18n.format("forge.update.beta.1", EnumChatFormatting.RED, EnumChatFormatting.RESET);
            gui.drawString(font, line, (width - font.getStringWidth(line)) / 2, 4 + (0 * (font.FONT_HEIGHT + 1)), -1);
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.