Android Open Source - android-weblogic-monitor Datasource Instance






From Project

Back to project page android-weblogic-monitor.

License

The source code is released under:

GNU General Public License

If you think the Android project android-weblogic-monitor listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * *************************************************************************
 */*  www. j  av  a  2 s  .c o m*/
 * Copyright (c) 2013 - Jeffrey A. West Designs
 *
 * This code is provided for example purposes only.  Neither Oracle nor
 * Jeffrey A. West assume any responsibility or liability for the consequences
 *  of using this code. If you choose to use this code for any reason,
 * including but not limited to its use as an example you do so at your own
 * risk and without the support of Oracle.
 *
 * This code is provided under the following licenses:
 *  - GNU General Public License (GPL-2.0)
 *
 * **************************************************************************
 */

package com.jeffreyawest.weblogic.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.jeffreyawest.weblogic.entity.enums.DatasourceInstanceState;

import java.util.List;

/**
 * Created by jeffreyawest on 8/12/13.
 */
public class DatasourceInstance extends WebLogicEntity
{

  @JsonProperty
  private String server;
  @JsonProperty
  protected DatasourceInstanceState state;
  @JsonProperty
  private String enabled;
  @JsonProperty
  private String VersionJDBCDriver;
  @JsonProperty
  private int activeConnectionsAverageCount;
  @JsonProperty
  private int activeConnectionsCurrentCount;
  @JsonProperty
  private int activeConnectionsHighCount;
  @JsonProperty
  private int connectionDelayTime;
  @JsonProperty
  private int connectionsTotalCount;
  @JsonProperty
  private int currCapacity;
  @JsonProperty
  private int currCapacityHighCount;
  @JsonProperty
  private int failedReserveRequestCount;
  @JsonProperty
  private int failuresToReconnectCount;
  @JsonProperty
  private int highestNumAvailable;
  @JsonProperty
  private int leakedConnectionCount;
  @JsonProperty
  private int numAvailable;
  @JsonProperty
  private int numUnavailable;
  @JsonProperty
  private int prepStmtCacheAccessCount;
  @JsonProperty
  private int prepStmtCacheAddCount;
  @JsonProperty
  private int prepStmtCacheCurrentSize;
  @JsonProperty
  private int prepStmtCacheDeleteCount;
  @JsonProperty
  private int prepStmtCacheHitCount;
  @JsonProperty
  private int prepStmtCacheMissCount;
  @JsonProperty
  private int reserveRequestCount;
  @JsonProperty
  private int waitSecondsHighCount;
  @JsonProperty
  private int waitingForConnectionCurrentCount;
  @JsonProperty
  private int waitingForConnectionFailureTotal;
  @JsonProperty
  private int waitingForConnectionHighCount;
  @JsonProperty
  private int waitingForConnectionSuccessTotal;
  @JsonProperty
  private int waitingForConnectionTotal;
  @JsonProperty
  private int successfulRclbBasedBorrowCount;
  @JsonProperty
  private int failedRCLBBasedBorrowCount;
  @JsonProperty
  private int successfulAffinityBasedBorrowCount;
  @JsonProperty
  private int failedAffinityBasedBorrowCount;
  @JsonProperty
  private List<RacInstance> racInstances;

  public String getServer()
  {

    return server;
  }

  public DatasourceInstanceState getState()
  {

    return state;
  }

  public String getEnabled()
  {

    return enabled;
  }

  public String getVersionJDBCDriver()
  {

    return VersionJDBCDriver;
  }

  public int getActiveConnectionsAverageCount()
  {

    return activeConnectionsAverageCount;
  }

  public int getActiveConnectionsCurrentCount()
  {

    return activeConnectionsCurrentCount;
  }

  public int getActiveConnectionsHighCount()
  {

    return activeConnectionsHighCount;
  }

  public int getConnectionDelayTime()
  {

    return connectionDelayTime;
  }

  public int getConnectionsTotalCount()
  {

    return connectionsTotalCount;
  }

  public int getCurrCapacity()
  {

    return currCapacity;
  }

  public int getCurrCapacityHighCount()
  {

    return currCapacityHighCount;
  }

  public int getFailedReserveRequestCount()
  {

    return failedReserveRequestCount;
  }

  public int getFailuresToReconnectCount()
  {

    return failuresToReconnectCount;
  }

  public int getHighestNumAvailable()
  {

    return highestNumAvailable;
  }

  public int getLeakedConnectionCount()
  {

    return leakedConnectionCount;
  }

  public int getNumUnavailable()
  {

    return numUnavailable;
  }

  public int getPrepStmtCacheAccessCount()
  {

    return prepStmtCacheAccessCount;
  }

  public int getPrepStmtCacheAddCount()
  {

    return prepStmtCacheAddCount;
  }

  public int getPrepStmtCacheCurrentSize()
  {

    return prepStmtCacheCurrentSize;
  }

  public int getPrepStmtCacheDeleteCount()
  {

    return prepStmtCacheDeleteCount;
  }

  public int getPrepStmtCacheHitCount()
  {

    return prepStmtCacheHitCount;
  }

  public int getPrepStmtCacheMissCount()
  {

    return prepStmtCacheMissCount;
  }

  public int getReserveRequestCount()
  {

    return reserveRequestCount;
  }

  public int getWaitSecondsHighCount()
  {

    return waitSecondsHighCount;
  }

  public int getWaitingForConnectionCurrentCount()
  {

    return waitingForConnectionCurrentCount;
  }

  public int getWaitingForConnectionFailureTotal()
  {

    return waitingForConnectionFailureTotal;
  }

  public int getWaitingForConnectionHighCount()
  {

    return waitingForConnectionHighCount;
  }

  public int getWaitingForConnectionSuccessTotal()
  {

    return waitingForConnectionSuccessTotal;
  }

  public int getWaitingForConnectionTotal()
  {

    return waitingForConnectionTotal;
  }

  public int getSuccessfulRclbBasedBorrowCount()
  {

    return successfulRclbBasedBorrowCount;
  }

  public int getFailedRCLBBasedBorrowCount()
  {

    return failedRCLBBasedBorrowCount;
  }

  public int getSuccessfulAffinityBasedBorrowCount()
  {

    return successfulAffinityBasedBorrowCount;
  }

  public int getFailedAffinityBasedBorrowCount()
  {

    return failedAffinityBasedBorrowCount;
  }

  @Override
  public String listViewString()
  {

    return toString();
  }

  @Override
  public String toString()
  {

    return "Instance{" +
        "server='" + server + '\'' +
        ", state='" + state + '\'' +
        ", enabled='" + enabled + '\'' +
        ", VersionJDBCDriver=" + VersionJDBCDriver +
        ", activeConnectionsAverageCount=" + activeConnectionsAverageCount +
        ", activeConnectionsCurrentCount=" + activeConnectionsCurrentCount +
        ", activeConnectionsHighCount=" + activeConnectionsHighCount +
        ", connectionDelayTime=" + connectionDelayTime +
        ", connectionsTotalCount=" + connectionsTotalCount +
        ", currCapacity=" + currCapacity +
        ", currCapacityHighCount=" + currCapacityHighCount +
        ", failedReserveRequestCount=" + failedReserveRequestCount +
        ", failuresToReconnectCount=" + failuresToReconnectCount +
        ", highestNumAvailable=" + highestNumAvailable +
        ", leakedConnectionCount=" + leakedConnectionCount +
        ", numUnavailable=" + numUnavailable +
        ", prepStmtCacheAccessCount=" + prepStmtCacheAccessCount +
        ", prepStmtCacheAddCount=" + prepStmtCacheAddCount +
        ", prepStmtCacheCurrentSize=" + prepStmtCacheCurrentSize +
        ", prepStmtCacheDeleteCount=" + prepStmtCacheDeleteCount +
        ", prepStmtCacheHitCount=" + prepStmtCacheHitCount +
        ", prepStmtCacheMissCount=" + prepStmtCacheMissCount +
        ", reserveRequestCount=" + reserveRequestCount +
        ", waitSecondsHighCount=" + waitSecondsHighCount +
        ", waitingForConnectionCurrentCount=" + waitingForConnectionCurrentCount +
        ", waitingForConnectionFailureTotal=" + waitingForConnectionFailureTotal +
        ", waitingForConnectionHighCount=" + waitingForConnectionHighCount +
        ", waitingForConnectionSuccessTotal=" + waitingForConnectionSuccessTotal +
        ", waitingForConnectionTotal=" + waitingForConnectionTotal +
        ", successfulRclbBasedBorrowCount=" + successfulRclbBasedBorrowCount +
        ", failedRCLBBasedBorrowCount=" + failedRCLBBasedBorrowCount +
        ", successfulAffinityBasedBorrowCount=" + successfulAffinityBasedBorrowCount +
        ", failedAffinityBasedBorrowCount=" + failedAffinityBasedBorrowCount +
        '}';
  }
}




Java Source Code List

com.jeffreyawest.http.HTTPAdapterImpl.java
com.jeffreyawest.http.HTTPAdapter.java
com.jeffreyawest.weblogic.entity.ApplicationDatasource.java
com.jeffreyawest.weblogic.entity.ApplicationTargetState.java
com.jeffreyawest.weblogic.entity.Application.java
com.jeffreyawest.weblogic.entity.ClusterServer.java
com.jeffreyawest.weblogic.entity.Cluster.java
com.jeffreyawest.weblogic.entity.DatasourceInstance.java
com.jeffreyawest.weblogic.entity.Datasource.java
com.jeffreyawest.weblogic.entity.MaxThreadsConstraint.java
com.jeffreyawest.weblogic.entity.MinThreadsConstraint.java
com.jeffreyawest.weblogic.entity.RacInstance.java
com.jeffreyawest.weblogic.entity.RequestClass.java
com.jeffreyawest.weblogic.entity.Server.java
com.jeffreyawest.weblogic.entity.WebLogicEntity.java
com.jeffreyawest.weblogic.entity.WorkManager.java
com.jeffreyawest.weblogic.entity.enums.ApplicationHealth.java
com.jeffreyawest.weblogic.entity.enums.ApplicationState.java
com.jeffreyawest.weblogic.entity.enums.ApplicationType.java
com.jeffreyawest.weblogic.entity.enums.DatasourceInstanceState.java
com.jeffreyawest.weblogic.entity.enums.DatasourceType.java
com.jeffreyawest.weblogic.entity.enums.ServerHealth.java
com.jeffreyawest.weblogic.entity.enums.ServerState.java
com.jeffreyawest.weblogic.entity.enums.TargetState.java
com.jeffreyawest.weblogic.monitor.Constants.java
com.jeffreyawest.weblogic.monitor.WebLogicMonitor.java
com.jeffreyawest.weblogic.monitor.activity.EndpointEntryActivity.java
com.jeffreyawest.weblogic.monitor.activity.MainActivity.java
com.jeffreyawest.weblogic.monitor.activity.display.DisplayApplicationActivity.java
com.jeffreyawest.weblogic.monitor.activity.display.DisplayClusterActivity.java
com.jeffreyawest.weblogic.monitor.activity.display.DisplayDatasourceActivity.java
com.jeffreyawest.weblogic.monitor.activity.display.DisplayEntityActivity.java
com.jeffreyawest.weblogic.monitor.activity.display.DisplayServerActivity.java
com.jeffreyawest.weblogic.monitor.activity.display.fragment.ServerDetailsFragment.java
com.jeffreyawest.weblogic.monitor.activity.list.ListApplicationsActivity.java
com.jeffreyawest.weblogic.monitor.activity.list.ListClustersActivity.java
com.jeffreyawest.weblogic.monitor.activity.list.ListDatasourcesActivity.java
com.jeffreyawest.weblogic.monitor.activity.list.ListDomainEntitiesActivity.java
com.jeffreyawest.weblogic.monitor.activity.list.ListEntityActivity.java
com.jeffreyawest.weblogic.monitor.activity.list.ListServersActivity.java
com.jeffreyawest.weblogic.monitor.activity.list.adapter.ApplicationListAdapter.java
com.jeffreyawest.weblogic.monitor.activity.list.adapter.ClusterListAdapter.java
com.jeffreyawest.weblogic.monitor.activity.list.adapter.DatasourceListAdapter.java
com.jeffreyawest.weblogic.monitor.activity.list.adapter.DomainEntityListAdapter.java
com.jeffreyawest.weblogic.monitor.activity.list.adapter.ServerListAdapter.java
com.jeffreyawest.weblogic.monitor.charting.ApplicationTargetStatePieChart.java
com.jeffreyawest.weblogic.monitor.charting.Charting.java
com.jeffreyawest.weblogic.monitor.charting.ClusterServerHealthPieChart.java
com.jeffreyawest.weblogic.monitor.charting.ClusterServerStatePieChart.java
com.jeffreyawest.weblogic.monitor.charting.DatasourceInstancePieChart.java
com.jeffreyawest.weblogic.monitor.charting.DefaultPieChart.java
com.jeffreyawest.weblogic.monitor.charting.JVMCPUPieChart.java
com.jeffreyawest.weblogic.monitor.charting.JVMHeapPieChart.java
com.jeffreyawest.weblogic.monitor.task.RetrieveWebLogicEntityTask.java
com.jeffreyawest.weblogic.rest.WebLogicDemoRestAdapter.java
com.jeffreyawest.weblogic.rest.WebLogicHTTPRestAdapter.java
com.jeffreyawest.weblogic.rest.WebLogicRestAdapter.java