flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GJL <...@git.apache.org>
Subject [GitHub] flink pull request #5308: [FLINK-8449] [flip6] Extend OnCompletionActions to...
Date Wed, 24 Jan 2018 14:41:37 GMT
Github user GJL commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5308#discussion_r163536073
  
    --- Diff: flink-core/src/main/java/org/apache/flink/api/common/accumulators/AccumulatorHelper.java
---
    @@ -173,4 +173,23 @@ public static String getResultsFormatted(Map<String, Object>
map) {
     		return accumulators;
     	}
     
    +	/**
    +	 * Serializes the given accumulators.
    +	 *
    +	 * @param accumulators to serialize
    +	 * @return Map of serialized accumulators
    +	 * @throws IOException if an accumulator could not be serialized
    +	 */
    +	public static Map<String, SerializedValue<Object>> serializeAccumulators(Map<String,
Accumulator<?, ?>> accumulators) throws IOException {
    --- End diff --
    
    I think you are not using this method anywhere.


---

Mime
View raw message