本文整理了Java中org.safehaus.guicyfig.Key
类的一些代码示例,展示了Key
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Key
类的具体详情如下:
包路径:org.safehaus.guicyfig.Key
类名称:Key
暂无
代码示例来源:origin: apache/usergrid
/**
* Gets the IPv4 public address used by the Runner. Uses {@link Runner#IPV4_KEY}
* to access the IPv4 public address.
*
* @return the IPv4 public address (octet) as a String
*/
@JsonProperty
@Key( IPV4_KEY )
String getIpv4Address();
代码示例来源:origin: apache/usergrid
/**
* Gets the timestamp when the project Runner was generated. Uses
* {@link Project#CREATE_TIMESTAMP_KEY} to access the Runner creation
* timestamp.
*
* @return the Judo Chop runner creation time
*/
@JsonProperty
@Key( CREATE_TIMESTAMP_KEY )
String getCreateTimestamp();
代码示例来源:origin: apache/usergrid
/**
* Gets the Maven version of the project being chopped. Uses {@link
* Project#PROJECT_VERSION_KEY} to access the Maven project version.
*
* @return the Maven project version
*/
@JsonProperty
@Key( PROJECT_VERSION_KEY )
String getVersion();
代码示例来源:origin: apache/usergrid
/**
* Gets the package base of the tests to run.
*
* @return the package base of the tests
*/
@JsonProperty
@Key( TEST_PACKAGE_BASE )
String getTestPackageBase();
代码示例来源:origin: apache/usergrid
/**
* Gets the path or key to the Runner's war in the store. Uses {@link
* Project#LOAD_KEY} to access the store's load key.
*
* @return the path or key to the Runner's war in the store
*/
@JsonProperty
@Key( LOAD_KEY )
String getLoadKey();
代码示例来源:origin: apache/usergrid
/**
* Gets the version of Judo Chop used to generate Runners. Uses {@link
* Project#CHOP_VERSION_KEY} to access the chop version used.
*
* @return the Judo Chop version
*/
@JsonProperty
@Key( CHOP_VERSION_KEY )
String getChopVersion();
代码示例来源:origin: apache/usergrid
/**
* Gets the version control system URL for the project. Uses
* {@link Project#GIT_URL_KEY} to access the VCS URL for the Project.
*
* @return the VCS URL for this project
*/
@JsonProperty
@Key( GIT_URL_KEY )
String getVcsRepoUrl();
代码示例来源:origin: apache/usergrid
/**
* Return the history of all shard values which are immutable. For instance, if shard values
* are initially set to 20 (the default) then increased to 40, the property should contain the string of
* "20, 40" so that we can read historic data.
*
* @return
*/
@Default("20")
@Key(SHARD_VALUES)
String getShardValues();
代码示例来源:origin: apache/usergrid
/**
* Returns the name of the keyspace that should be used for Locking
*/
@Key( LOCKS_KEYSPACE_NAME )
@Default("Locks")
String getLocksKeyspace();
代码示例来源:origin: apache/usergrid
/**
* How many times to attempt lock keyspace and column family creation
*/
@Key( LOCK_MANAGER_INIT_RETRIES )
@Default( "100" )
int getLockManagerInitRetries();
代码示例来源:origin: apache/usergrid
/**
* Identify the Elasticsearch client node with a unique name.
*/
@Default( "default" )
@Key( ELASTICSEARCH_NODENAME )
String getNodeName();
代码示例来源:origin: apache/usergrid
/**
* The batch size to use when sending batched index write requests to Elasticsearch.
*/
@Default( "1000" )
@Key( INDEX_BATCH_SIZE )
int getIndexBatchSize();
代码示例来源:origin: apache/usergrid
/**
* Hostname used for advertising to the cluster what itself should be reference as
*/
@Key("usergrid.cluster.hostname")
@Default("")
String getHostname();
代码示例来源:origin: apache/usergrid
/**
* Gets the time in milliseconds to wait until a test stops. Uses {@link
* Project#TEST_STOP_TIMEOUT} to access the test timeout parameter.
*
* @return the time in milliseconds to wait for a test to stop
*/
@JsonProperty
@Key( TEST_STOP_TIMEOUT )
@Default( DEFAULT_TEST_STOP_TIMEOUT )
long getTestStopTimeout();
代码示例来源:origin: apache/usergrid
/**
* Set the visibility timeout for messages received from the queue. (in milliseconds).
* Received messages will remain 'in flight' until they are ack'd(deleted) or this timeout occurs.
* If the timeout occurs, the messages will become visible again for re-processing.
*/
@Default( "30000" ) // 30 seconds
@Key( INDEX_QUEUE_VISIBILITY_TIMEOUT )
int getIndexQueueVisibilityTimeout();
代码示例来源:origin: apache/usergrid
/**
* The number of worker threads used when handing off messages from the SQS thread
*/
@Default( "5" )
@Key( EVENT_CONCURRENCY_FACTOR )
int getEventConcurrencyFactor();
代码示例来源:origin: apache/usergrid
/**
* The number of worker threads used to read dead messages from the utility dead letter queue and reload them into the utility queue.
*/
@Default("1")
@Key(ELASTICSEARCH_WORKER_COUNT_UTILITY_DEADLETTER)
int getWorkerCountUtilityDeadLetter();
代码示例来源:origin: apache/usergrid
/**
* Number of parallel buffers during collection delete
*/
@Default("500")
@Key(COLLECTION_DELETE_BUFFER_SIZE)
int getCollectionDeleteBufferSize();
代码示例来源:origin: apache/usergrid
/**
* Unique Value cache TTL in seconds.
*/
@Key(UNIQUEVALUE_CACHE_TTL)
@Default("10")
int getUniqueValueCacheTtl();
代码示例来源:origin: apache/usergrid
/**
* Number of items to buffer.
*
* @return Number of items to buffer in memory
*/
@Key("buffer.size")
@Default("100")
int getBufferSize();
内容来源于网络,如有侵权,请联系作者删除!