Tabnine Logo
SimpleAttributeDefinitionBuilder.setStorageRuntime
Code IndexAdd Tabnine to your IDE (free)

How to use
setStorageRuntime
method
in
org.jboss.as.controller.SimpleAttributeDefinitionBuilder

Best Java code snippets using org.jboss.as.controller.SimpleAttributeDefinitionBuilder.setStorageRuntime (Showing top 20 results out of 315)

origin: wildfly/wildfly

EvictionMetric(String name, ModelType type) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime().build();
}
origin: wildfly/wildfly

PartitionHandlingMetric(String name, ModelType type) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime().build();
}
origin: wildfly/wildfly

CacheContainerMetric(String name, ModelType type) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime().build();
}
origin: wildfly/wildfly

CacheMetric(String name, ModelType type) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime().build();
}
origin: wildfly/wildfly

LockingMetric(String name, ModelType type) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime().build();
}
origin: wildfly/wildfly

ClusteredCacheMetric(String name, ModelType type) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime().build();
}
origin: wildfly/wildfly

StoreMetric(String name, ModelType type) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime().build();
}
origin: wildfly/wildfly

TransactionMetric(String name, ModelType type) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime().build();
}
origin: wildfly/wildfly

ChannelMetric(String name, ModelType type, JGroupsModel deprecation) {
  SimpleAttributeDefinitionBuilder builder = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime();
  if (deprecation != null) {
    builder.setDeprecated(deprecation.getVersion());
  }
  this.definition = builder.build();
}
origin: wildfly/wildfly

public static List<AttributeDefinition> getAttributesFromPlugin(StatisticsPlugin plugin) {
  LinkedList<AttributeDefinition> result = new LinkedList<>();
  for (String name : plugin.getNames()) {
    ModelType modelType = ModelType.STRING;
    if (plugin.getType(name) == int.class) {
      modelType = ModelType.INT;
    }
    if (plugin.getType(name) == long.class) {
      modelType = ModelType.LONG;
    }
    SimpleAttributeDefinition attribute = new SimpleAttributeDefinitionBuilder(name, modelType)
        .setRequired(false)
        .setStorageRuntime()
        .build();
    result.add(attribute);
  }
  return result;
}
origin: wildfly/wildfly

DeprecatedAttribute(String name, ModelType type, JGroupsModel deprecation) {
  this.definition = new SimpleAttributeDefinitionBuilder(name, type, true).setDeprecated(deprecation.getVersion()).setStorageRuntime().build();
}
origin: wildfly/wildfly

private ResourceDefinition createProtocolResourceDefinition(String protocolName, Class<? extends Protocol> protocolClass) {
  SimpleResourceDescriptionResolver resolver = new SimpleResourceDescriptionResolver(protocolName, protocolClass.getSimpleName());
  ResourceBuilder builder = ResourceBuilder.Factory.create(ProtocolResourceDefinition.pathElement(protocolName), resolver).setRuntime();
  ProtocolMetricsHandler handler = new ProtocolMetricsHandler(this);
  for (Map.Entry<String, Attribute> entry: ProtocolMetricsHandler.findProtocolAttributes(protocolClass).entrySet()) {
    String name = entry.getKey();
    Attribute attribute = entry.getValue();
    FieldType type = FieldType.valueOf(attribute.getType());
    resolver.addDescription(name, attribute.getDescription());
    builder.addMetric(new SimpleAttributeDefinitionBuilder(name, type.getModelType(), true).setStorageRuntime().build(), handler);
  }
  return builder.build();
}
origin: wildfly/wildfly

String name = attribute.getName();
FieldType type = FieldType.valueOf(attribute.getType());
registration.registerMetric(new SimpleAttributeDefinitionBuilder(name, type.getModelType()).setStorageRuntime().build(), handler);
origin: org.jboss.as/jboss-as-osgi-service

private static SimpleAttributeDefinition createAttribute(String name, ModelType type, boolean nillable) {
  return new SimpleAttributeDefinitionBuilder(name, type, nillable)
    .setStorageRuntime()
    .build();
}
origin: org.wildfly/wildfly-osgi-service

private static SimpleAttributeDefinition createAttribute(String name, ModelType type, boolean nillable) {
  return new SimpleAttributeDefinitionBuilder(name, type, nillable)
    .setStorageRuntime()
    .build();
}
origin: org.wildfly.core/wildfly-host-controller

private static AttributeDefinition createAttributeDefinition(String name, ModelType type) {
  return SimpleAttributeDefinitionBuilder.create(name, type)
      .setStorageRuntime()
      .setRuntimeServiceNotRequired()
      .build();
}
origin: wildfly/wildfly-core

private static AttributeDefinition createAttributeDefinition(String name, ModelType type) {
  return SimpleAttributeDefinitionBuilder.create(name, type)
      .setStorageRuntime()
      .setRuntimeServiceNotRequired()
      .build();
}
origin: org.jboss.eap/wildfly-clustering-jgroups-extension

ChannelMetric(String name, ModelType type, JGroupsModel deprecation) {
  SimpleAttributeDefinitionBuilder builder = new SimpleAttributeDefinitionBuilder(name, type, true).setStorageRuntime();
  if (deprecation != null) {
    builder.setDeprecated(deprecation.getVersion());
  }
  this.definition = builder.build();
}
origin: org.wildfly.core/wildfly-management-client-content

  private static AttributeDefinition getContentAttributeDefinition(final ParameterValidator contentValidator) {
    return SimpleAttributeDefinitionBuilder.create(ModelDescriptionConstants.CONTENT, ModelType.OBJECT)
        .setStorageRuntime()
        .setRuntimeServiceNotRequired()
        .setValidator(contentValidator)
        .build();
  }
}
origin: org.wildfly.core/wildfly-host-controller

private static AttributeDefinition createAttributeDefinition(String name, ModelType type, AccessConstraintDefinition... accessConstraints) {
  SimpleAttributeDefinitionBuilder builder = SimpleAttributeDefinitionBuilder.create(name, type)
      .setStorageRuntime()
      .setRuntimeServiceNotRequired();
  if (accessConstraints != null) {
    for (AccessConstraintDefinition acd : accessConstraints) {
      builder = builder.addAccessConstraint(acd);
    }
  }
  return builder.build();
}
org.jboss.as.controllerSimpleAttributeDefinitionBuildersetStorageRuntime

Popular methods of SimpleAttributeDefinitionBuilder

  • build
  • <init>
  • setAllowExpression
  • setValidator
  • setDefaultValue
  • create
  • setRequired
  • setFlags
  • setCapabilityReference
  • setDeprecated
  • setMeasurementUnit
  • setRestartAllServices
  • setMeasurementUnit,
  • setRestartAllServices,
  • setXmlName,
  • setAccessConstraints,
  • setAlternatives,
  • addAccessConstraint,
  • setAttributeMarshaller,
  • setCorrector,
  • addAlternatives

Popular in Java

  • Reactive rest calls using spring rest template
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • getExternalFilesDir (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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