Class PushUtils


  • public final class PushUtils
    extends Object
    Utilities to convert to grpc snapshot types.
    • Method Detail

      • convertToGrpc

        public static com.intergral.deep.proto.tracepoint.v1.Snapshot convertToGrpc​(EventSnapshot snapshot)
        Convert an internal snapshot into a grpc snapshot.
        Parameters:
        snapshot - the internal snapshot to convert
        Returns:
        the converted snapshot
      • covertVariables

        public static Collection<com.intergral.deep.proto.tracepoint.v1.VariableID> covertVariables​(Collection<VariableID> frameVariables)
      • convertVarLookup

        public static Map<String,​com.intergral.deep.proto.tracepoint.v1.Variable> convertVarLookup​(Map<String,​Variable> varLookup)
        Convert a variable lookup into grpc variables.
        Parameters:
        varLookup - the lookup to convert
        Returns:
        the converted variables