public int size() {
    return streams.size();
  }
Returns the number of OutputStreams in this CompositeOutputStream (its cardinality).

@return the number of OutputStreams in this CompositeOutputStream (its cardinality)
geode-core/src/main/java/org/apache/geode/internal/io/CompositeOutputStream.java