Class DerivedDataSegmentDefinition

java.lang.Object
com._1c.g5.v8.derived.pipeline.DerivedDataSegmentDefinition

public class DerivedDataSegmentDefinition extends Object
Standard definition of the async derived data segment. Provides metainformation for configuration of DD pipeline and the process of calculation.
  • Field Details

  • Constructor Details

    • DerivedDataSegmentDefinition

      public DerivedDataSegmentDefinition(String segmentId, DerivedDataSegmentBucket bucket, int priority, DerivedDataSegmentConcurrencyStrategy concurrency, MultithreadingComputationPolicy computationPolicy, String segmentName, String segmentStatusTemplate, boolean longRunningSegment)
      Creates an instance of the DD pipeline segment definition.
      Parameters:
      segmentId - The identifier of the segment.
      bucket - The DD pipeline bucket.
      priority - The priority of the computation.
      concurrency - The concurrency policy of the computation.
      computationPolicy - The meltithreading computation policy.
      segmentName - The user-readable segment name.
      segmentStatusTemplate - The computation status template for the rendering.
      longRunningSegment - Designates that the segment is long-running one so it needs special indication.
  • Method Details

    • getBucket

      public DerivedDataSegmentBucket getBucket()
      Returns:
      the bucket
    • getComputationPolicy

      public MultithreadingComputationPolicy getComputationPolicy()
      Returns:
      the computationPolicy
    • getConcurrency

      public DerivedDataSegmentConcurrencyStrategy getConcurrency()
      Returns:
      the concurrency
    • getPriority

      public int getPriority()
      Returns:
      the priority
    • getSegmentId

      public String getSegmentId()
      Returns:
      the segmentId
    • getSegmentName

      public String getSegmentName()
      Returns:
      the segmentName
    • getSegmentStatusTemplate

      public String getSegmentStatusTemplate()
      Returns:
      the segmentStatusTemplate
    • isLazy

      public boolean isLazy()
      Returns:
      the lazy
    • isLongRunningSegment

      public boolean isLongRunningSegment()
      Returns:
      the longRunningSegment
    • setBucket

      public void setBucket(DerivedDataSegmentBucket bucket)
      Parameters:
      bucket - the bucket to set
    • setConcurrency

      public void setConcurrency(DerivedDataSegmentConcurrencyStrategy concurrency)
      Parameters:
      concurrency - the concurrency to set
    • setLazy

      public void setLazy(boolean lazy)
      Parameters:
      lazy - the lazy to set
    • setPriority

      public void setPriority(int priority)
      Parameters:
      priority - the priority to set
    • setSegmentId

      public void setSegmentId(String segmentId)
      Parameters:
      segmentId - the segmentId to set