当前位置: 首页>>代码示例>>Java>>正文


Java BQConfigProperty类代码示例

本文整理汇总了Java中io.bootique.annotation.BQConfigProperty的典型用法代码示例。如果您正苦于以下问题:Java BQConfigProperty类的具体用法?Java BQConfigProperty怎么用?Java BQConfigProperty使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


BQConfigProperty类属于io.bootique.annotation包,在下文中一共展示了BQConfigProperty类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: setExtra

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty("By default all MDC parameters are sent under the Additional Data Tab. " +
    "By setting \"extra\" in your configuration you can define MDC keys to send as tags instead of " +
    "including them in Additional Data. " +
    "This allows them to be filtered within Sentry. Example: extra1:value1,extra2:value2")
public void setExtra(Map<String, String> extra) {
    this.extra = extra;
}
 
开发者ID:bootique,项目名称:bootique-logback,代码行数:8,代码来源:LogbackSentryFactory.java

示例2: setDependsOn

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty("List of dependencies, that should be run prior to the current job." +
        " May include names of both standalone jobs and job groups." +
        " Note that the order of execution of dependencies may be different from the order, in which they appear in this list." +
        " If you'd like the dependencies to be executed in a particular order, consider creating an explicit job group.")
public void setDependsOn(List<String> dependsOn) {
    this.dependsOn = Optional.of(dependsOn);
}
 
开发者ID:bootique,项目名称:bootique-job,代码行数:8,代码来源:SingleJobDefinition.java

示例3: setLogFormat

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
/**
 * @param logFormat Log format specification used by all appenders unless redefined for a given appender.
 * @since 0.25
 */
@BQConfigProperty("Log format specification used by child appenders unless redefined at the appender level, or not " +
        "relevant for a given type of appender. The spec is " +
        "compatible with Logback framework. The default is '%-5p [%d{ISO8601,UTC}] %thread %c{20}: %m%n%rEx'")
public void setLogFormat(String logFormat) {
    this.logFormat = logFormat;
}
 
开发者ID:bootique,项目名称:bootique-logback,代码行数:11,代码来源:LogbackContextFactory.java

示例4: setIdleTimeout

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty
public void setIdleTimeout(long idleTimeoutMs) {
    if (idleTimeoutMs < 0) {
        throw new IllegalArgumentException("idleTimeout cannot be negative");
    }
    this.idleTimeout = idleTimeoutMs;
}
 
开发者ID:bootique,项目名称:bootique-jdbc,代码行数:8,代码来源:HikariCPManagedDataSourceFactory.java

示例5: setMaximumPoolSize

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty
public void setMaximumPoolSize(int maxPoolSize) {
    if (maxPoolSize < 1) {
        throw new IllegalArgumentException("maxPoolSize cannot be less than 1");
    }
    this.maxPoolSize = maxPoolSize;
}
 
开发者ID:bootique,项目名称:bootique-jdbc,代码行数:8,代码来源:HikariCPManagedDataSourceFactory.java

示例6: setValidationTimeout

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty
public void setValidationTimeout(long validationTimeoutMs) {
    if (validationTimeoutMs < 250) {
        throw new IllegalArgumentException("validationTimeout cannot be less than 250ms");
    }

    this.validationTimeout = validationTimeoutMs;
}
 
开发者ID:bootique,项目名称:bootique-jdbc,代码行数:9,代码来源:HikariCPManagedDataSourceFactory.java

示例7: setReporters

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty("A List of reporter factories.")
public void setReporters(List<ReporterFactory> reporters) {
    this.reporters = reporters;
}
 
开发者ID:bootique,项目名称:bootique-metrics,代码行数:5,代码来源:MetricRegistryFactory.java

示例8: setHealthChecks

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty
public void setHealthChecks(List<String> healthChecks) {
    this.healthChecks = healthChecks;
}
 
开发者ID:bootique,项目名称:bootique-metrics,代码行数:5,代码来源:HeartbeatFactory.java

示例9: setThreadPoolSize

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty
public void setThreadPoolSize(int threadPoolSize) {
    this.threadPoolSize = threadPoolSize;
}
 
开发者ID:bootique,项目名称:bootique-metrics,代码行数:5,代码来源:HeartbeatFactory.java

示例10: setFixedDelayMs

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty
public void setFixedDelayMs(long fixedDelayMs) {
    this.fixedDelayMs = fixedDelayMs;
}
 
开发者ID:bootique,项目名称:bootique-metrics,代码行数:5,代码来源:HeartbeatFactory.java

示例11: setInitialDelayMs

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty
public void setInitialDelayMs(long initialDelayMs) {
    this.initialDelayMs = initialDelayMs;
}
 
开发者ID:bootique,项目名称:bootique-metrics,代码行数:5,代码来源:HeartbeatFactory.java

示例12: setHealthCheckTimeoutMs

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty
public void setHealthCheckTimeoutMs(long healthCheckTimeoutMs) {
    this.healthCheckTimeoutMs = healthCheckTimeoutMs;
}
 
开发者ID:bootique,项目名称:bootique-metrics,代码行数:5,代码来源:HeartbeatFactory.java

示例13: setUsers

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty("A map of user account names to user password and roles. The values should be in the format "
        + "used by the [users] section of a Shiro .ini file. Namely 'password, roleName1, roleName2, …, roleNameN'.")
public void setUsers(Map<String, String> users) {
    this.users = users;
}
 
开发者ID:bootique,项目名称:bootique-shiro,代码行数:6,代码来源:IniRealmFactory.java

示例14: setRoles

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty("A map of role names to role permissions. The values should be in the format used by the [roles] "
        + "section of a Shiro .ini file. Namely 'permissionDefinition1, permissionDefinition2, ..., "
        + "permissionDefinitionN'.")
public void setRoles(Map<String, String> roles) {
    this.roles = roles;
}
 
开发者ID:bootique,项目名称:bootique-shiro,代码行数:7,代码来源:IniRealmFactory.java

示例15: setRealms

import io.bootique.annotation.BQConfigProperty; //导入依赖的package包/类
@BQConfigProperty
public void setRealms(List<RealmFactory> realms) {
    this.realms = realms;
}
 
开发者ID:bootique,项目名称:bootique-shiro,代码行数:5,代码来源:RealmsFactory.java


注:本文中的io.bootique.annotation.BQConfigProperty类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。