public Collection<ReefServiceProtos.ContextStatusProto> getContextStatusCollection() {
    synchronized (this.contextStack) {
      final List<ReefServiceProtos.ContextStatusProto> result = new ArrayList<>(this.contextStack.size());
      for (final ContextRuntime contextRuntime : this.contextStack) {
        final ReefServiceProtos.ContextStatusProto contextStatusProto = contextRuntime.getContextStatus();
        LOG.log(Level.FINEST, "Add context status: {0}", contextStatusProto);
        result.add(contextStatusProto);
      }
      return result;
    }
  }
public Collection < ReefServiceProtos . ContextStatusProto > getContextStatusCollection ( ) { synchronized ( this . contextStack ) { final List < ReefServiceProtos . ContextStatusProto > result = new ArrayList < > ( this . contextStack . size ( ) ) ; for ( final ContextRuntime contextRuntime : this . contextStack ) { final ReefServiceProtos . ContextStatusProto contextStatusProto = contextRuntime . getContextStatus ( ) ; LOG . log ( Level . FINEST , "Add context status: {0}" , contextStatusProto ) ; result . add ( contextStatusProto ) ; } return result ; } }
@return the status of all context in the stack.