Skip to content
Snippets Groups Projects
  • Sean Owen's avatar
    34b7c353
    SPARK-4682 [CORE] Consolidate various 'Clock' classes · 34b7c353
    Sean Owen authored
    Another one from JoshRosen 's wish list. The first commit is much smaller and removes 2 of the 4 Clock classes. The second is much larger, necessary for consolidating the streaming one. I put together implementations in the way that seemed simplest. Almost all the change is standardizing class and method names.
    
    Author: Sean Owen <sowen@cloudera.com>
    
    Closes #4514 from srowen/SPARK-4682 and squashes the following commits:
    
    5ed3a03 [Sean Owen] Javadoc Clock classes; make ManualClock private[spark]
    169dd13 [Sean Owen] Add support for legacy org.apache.spark.streaming clock class names
    277785a [Sean Owen] Reduce the net change in this patch by reversing some unnecessary syntax changes along the way
    b5e53df [Sean Owen] FakeClock -> ManualClock; getTime() -> getTimeMillis()
    160863a [Sean Owen] Consolidate Streaming Clock class into common util Clock
    7c956b2 [Sean Owen] Consolidate Clocks except for Streaming Clock
    34b7c353
    History
    SPARK-4682 [CORE] Consolidate various 'Clock' classes
    Sean Owen authored
    Another one from JoshRosen 's wish list. The first commit is much smaller and removes 2 of the 4 Clock classes. The second is much larger, necessary for consolidating the streaming one. I put together implementations in the way that seemed simplest. Almost all the change is standardizing class and method names.
    
    Author: Sean Owen <sowen@cloudera.com>
    
    Closes #4514 from srowen/SPARK-4682 and squashes the following commits:
    
    5ed3a03 [Sean Owen] Javadoc Clock classes; make ManualClock private[spark]
    169dd13 [Sean Owen] Add support for legacy org.apache.spark.streaming clock class names
    277785a [Sean Owen] Reduce the net change in this patch by reversing some unnecessary syntax changes along the way
    b5e53df [Sean Owen] FakeClock -> ManualClock; getTime() -> getTimeMillis()
    160863a [Sean Owen] Consolidate Streaming Clock class into common util Clock
    7c956b2 [Sean Owen] Consolidate Clocks except for Streaming Clock
MimaExcludes.scala 20.45 KiB