Class DeviceStageLoop<T>


  • public class DeviceStageLoop<T>
    extends DeviceStage<T>
    • Method Detail

      • timeWindow

        public BuildStage<T> timeWindow​(@NonNull
                                        @NonNull java.time.Instant startTime,
                                        @NonNull
                                        @NonNull java.time.Instant endTime)
      • timeWindow

        public default N timeWindow​(long fromNanos,
                                    long toNanos)
        Parameters:
        fromNanos - start time in nanoseconds elapsed since 1970-01-01 00:00:00 in the UTC timezone
        toNanos - end time in nanoseconds elapsed since 1970-01-01 00:00:00 in the UTC timezone
      • timeWindow

        public default N timeWindow​(@NonNull
                                    @NonNull java.lang.String fromTimeStampUtc,
                                    @NonNull
                                    @NonNull java.lang.String toTimeStampUtc)
        Parameters:
        fromTimeStampUtc - at time in UTC timezone as string using "yyyy-MM-dd HH:mm:ss.n" format
      • timeWindow

        public default N timeWindow​(@NonNull
                                    @NonNull TimeWindow timeWindow)
      • atTime

        public default N atTime​(@NonNull
                                @NonNull java.time.Instant timeStamp)
      • atTime

        public default N atTime​(long nanos)
        Parameters:
        nanos - start time in nanoseconds elapsed since 1970-01-01 00:00:00 in the UTC timezone
      • atTime

        public default N atTime​(@NonNull
                                @NonNull java.lang.String timeStampUtc)
        Parameters:
        timeStampUtc - at time in UTC timezone as string using "yyyy-MM-dd HH:mm:ss.n" format