當前位置: 首頁>>代碼示例>>Java>>正文


Java Description類代碼示例

本文整理匯總了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;
}
 
開發者ID:esbtools,項目名稱:lightblue-notification-hook,代碼行數:9,代碼來源:NotificationEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:event-handler,代碼行數:9,代碼來源:EventHandlerConfigEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:event-handler,代碼行數:15,代碼來源:EventHandlerConfigEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:event-handler,代碼行數:14,代碼來源:EventHandlerConfigEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:event-handler,代碼行數:10,代碼來源:EventHandlerConfigEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:event-handler,代碼行數:13,代碼來源:EventHandlerConfigEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:lightblue-notification-hook,代碼行數:6,代碼來源:NotificationEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:lightblue-notification-hook,代碼行數:6,代碼來源:NotificationEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:lightblue-notification-hook,代碼行數:7,代碼來源:NotificationEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:lightblue-notification-hook,代碼行數:5,代碼來源:NotificationEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:lightblue-notification-hook,代碼行數:7,代碼來源:NotificationEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:lightblue-notification-hook,代碼行數:7,代碼來源:NotificationEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:lightblue-notification-hook,代碼行數:5,代碼來源:NotificationEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:event-handler,代碼行數:5,代碼來源:EventHandlerConfigEntity.java

示例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;
}
 
開發者ID:esbtools,項目名稱:event-handler,代碼行數:7,代碼來源:EventHandlerConfigEntity.java


注:本文中的com.redhat.lightblue.generator.Description類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。