Example usage for javax.ejb TransactionAttributeType NOT_SUPPORTED

List of usage examples for javax.ejb TransactionAttributeType NOT_SUPPORTED

Introduction

In this page you can find the example usage for javax.ejb TransactionAttributeType NOT_SUPPORTED.

Prototype

TransactionAttributeType NOT_SUPPORTED

To view the source code for javax.ejb TransactionAttributeType NOT_SUPPORTED.

Click Source Link

Document

The container invokes an enterprise bean method whose transaction attribute NOT_SUPPORTED with an unspecified transaction context.

Usage

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public MetricsConfiguration getMetricsConfiguration() {
    return metricsConfiguration;
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public boolean isClusterAvailable() {
    return storageClusterMonitor != null && storageClusterMonitor.isClusterAvailable();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public int getAggregationBatchSize() {
    return metricsServer.getAggregationManager().getBatchSize();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public void setAggregationBatchSize(int batchSize) {
    metricsServer.getAggregationManager().setBatchSize(batchSize);
    persistStorageProperty(MetricsConstants.AGGREGATION_BATCH_SIZE, Integer.toString(batchSize));
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public int getAggregationParallelism() {
    return metricsServer.getAggregationManager().getParallelism();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public void setAggregationParallelism(int parallelism) {
    metricsServer.getAggregationManager().setParallelism(parallelism);
    persistStorageProperty(MetricsConstants.AGGREGATION_PARALLELISM, Integer.toString(parallelism));
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public int getAggregationWorkers() {
    return metricsServer.getAggregationManager().getNumWorkers();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public void setAggregationWorkers(int numWorkers) {
    metricsServer.getAggregationManager().setNumWorkers(numWorkers);
    persistStorageProperty(MetricsConstants.AGGREGATION_WORKERS, Integer.toString(numWorkers));
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public int getRawDataAgeLimit() {
    return metricsServer.getRawDataAgeLimit();
}

From source file:org.rhq.enterprise.server.storage.StorageClientManager.java

@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)
public void setRawDataAgeLimit(int ageLimit) {
    metricsServer.setRawDataAgeLimit(ageLimit);
    persistStorageProperty(MetricsConstants.RAW_DATA_AGE_LIMIT, Integer.toString(ageLimit));
}