本文整理汇总了Java中com.redhat.lightblue.generator.Description类的典型用法代码示例。如果您正苦于以下问题:Java Description类的具体用法?Java Description怎么用?Java Description使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Description类属于com.redhat.lightblue.generator包,在下文中一共展示了Description类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setEntityData
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("Captured entity data from the state of the entity at the time the client " +
"request was made (see clientRequestDate). Entity data is captured as a list of key " +
"value pairs, where the key is the lightblue path of a field, and the value is that " +
"field's value. Only primitive values are supported, so objects are flattened to " +
"individual paths for each field in the object.")
public void setEntityData(List<PathAndValue> data) {
this.entityData=data;
}
示例2: setDomain
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Identity
@Required
@Description("Identifies a set of configuration values. Since all config is contained in a " +
"single document in a collection, it is necessary to know how to refer to that " +
"document: you refer to it by its domain.")
public void setDomain(String domain) {
this.domain = domain;
}
示例3: setDocumentEventsBatchSize
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("Not to be confused with the maximum number of document events passed to " +
"DocumentEventRepository.retrievePriorityDocumentEventsUpTo(int), this governs the " +
"max batch size of events fetched from lightblue and available for optimization." +
"\n" +
"For example, if you ask for 50 document events to be retrieved, and your batch size " +
"is 100, we will initially fetch 100 document events (assuming there are >= 100 " +
"events waiting to be processed) from lightblue. Among those 100, we will try to " +
"optimize away as many events as possible by checking for events which can be " +
"merged or superseded. Finally, among those left, we will return the 50 highest " +
"priority events. Any remaining events past 50 will be untouched, available for " +
"future retrievals.")
public void setDocumentEventsBatchSize(Integer documentEventsBatchSize) {
this.documentEventsBatchSize = documentEventsBatchSize;
}
示例4: setDocumentEventExpireThresholdSeconds
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("How long before a document event is available for retrieval do we drop the " +
"event and let it be reprocessed?\n" +
"In other words, this governs when we stop processing an event in flight because " +
"we're too near when another retrieval may see it is past its " +
"getDocumentEventProcessingTimeout() and retrieve it for reprocessing.\n" +
"N.B. The existence of this configuration is a function of our current transaction " +
"scheme. This could go away, for instance, if we either atomically updated an " +
"event's processing timestamp before publishing its document. Other alternative " +
"schemes are possible.")
public void setDocumentEventExpireThresholdSeconds(
Integer documentEventExpireThresholdSeconds) {
this.documentEventExpireThresholdSeconds = documentEventExpireThresholdSeconds;
}
示例5: make
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("When adding new document events, we can make (total new events) / (max events " +
"per insert) requests, instead of one request with all new events in a single call. " +
"If no integer is provided, we will do one request with all new events.\n" +
"Setting a limit is recommended as it protects against potentially extremely " +
"significant notifications producing a huge quantity of document events and failing " +
"to insert them all in one call.")
public void setMaxDocumentEventsPerInsert(@Nullable Integer maxDocumentEventsPerInsert) {
this.maxDocumentEventsPerInsert = maxDocumentEventsPerInsert;
}
示例6: setNotificationExpireThresholdSeconds
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("How long before a notification is available for retrieval do we drop the event " +
"and let it be reprocessed?\n" +
"In other words, this governs when we stop processing a notification in flight " +
"because we're too near when another retrieval may see it is past its " +
"getNotificationProcessingTimeout() and retrieve it for reprocessing.\n" +
"N.B. The existence of this configuration is a function of our current transaction " +
"scheme. This could go away, for instance, if we either atomically updated a " +
"notification's processing timestamp before adding its document events. Other " +
"alternative schemes are possible.")
public void setNotificationExpireThresholdSeconds(Integer notificationExpireThresholdSeconds) {
this.notificationExpireThresholdSeconds = notificationExpireThresholdSeconds;
}
示例7: setClientRequestPrincipal
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("If lightblue authentication is enabled, this is the principal of the client " +
"who made the request this notification is representing.")
public void setClientRequestPrincipal(String clientRequestPrincipal) {
this.clientRequestPrincipal = clientRequestPrincipal;
}
示例8: setClientRequestDate
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("The date the client request was made that this notification is representing.")
@Required
public void setClientRequestDate(Date clientRequestDate) {
this.clientRequestDate = clientRequestDate;
}
示例9: setUpdatedPaths
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("Lightblue paths to fields which have changed or container elements which have " +
"been added. If array order is significant, moved array elements' paths will also be " +
"included.")
public void setUpdatedPaths(List<String> paths) {
this.updatedPaths =paths;
}
示例10: setRemovedPaths
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("Lightblue paths to fields or array elements which were removed.")
public void setRemovedPaths(List<String> paths) {
this.removedPaths =paths;
}
示例11: setRemovedEntityData
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("Entity data that was removed. Each path in removedPaths will have an entry " +
"here with the associated data to that field. As with entityData, all entries are " +
"paths to primitive values. Objects are flattened.")
public void setRemovedEntityData(List<PathAndValue> l) {
this.removedEntityData=l;
}
示例12: setPath
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("A path as in the lightblue query and projection language. For example: " +
"'path.to.array.0.field'. Must point to primitive fields.")
@Required
public void setPath(String path) {
this.path = path;
}
示例13: setValue
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("Value stored in this path as a String. Only primitive values are supported.")
public void setValue(@Nullable String value) {
this.value = value;
}
示例14: setCanonicalTypesToProcess
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("Governs whether or not document events are processed based on their type.")
public void setCanonicalTypesToProcess(Set<String> canonicalTypesToProcess) {
this.canonicalTypesToProcess = canonicalTypesToProcess;
}
示例15: setDocumentEventProcessingTimeoutSeconds
import com.redhat.lightblue.generator.Description; //导入依赖的package包/类
@Description("How long can a document event remain processing before we allow it to be " +
"retrieved again for reprocessing?")
public void setDocumentEventProcessingTimeoutSeconds(
Integer documentEventProcessingTimeoutSeconds) {
this.documentEventProcessingTimeoutSeconds = documentEventProcessingTimeoutSeconds;
}