Class SingleFaultKey<ReqT,​ResT>

  • All Implemented Interfaces:
    FaultKey

    public class SingleFaultKey<ReqT,​ResT>
    extends java.lang.Object
    implements FaultKey
    • Constructor Detail

      • SingleFaultKey

        public SingleFaultKey​(cloud.filibuster.junit.statem.keys.SingleFaultKey.Builder builder)
      • SingleFaultKey

        public SingleFaultKey​(io.grpc.MethodDescriptor<ReqT,​ResT> methodDescriptor)
      • SingleFaultKey

        public SingleFaultKey​(io.grpc.MethodDescriptor<ReqT,​ResT> methodDescriptor,
                              io.grpc.Status.Code code)
      • SingleFaultKey

        public SingleFaultKey​(io.grpc.MethodDescriptor<ReqT,​ResT> methodDescriptor,
                              ReqT request)
      • SingleFaultKey

        public SingleFaultKey​(io.grpc.MethodDescriptor<ReqT,​ResT> methodDescriptor,
                              io.grpc.Status.Code code,
                              ReqT request)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • generateFaultKeysInDecreasingGranularity

        public static java.util.List<SingleFaultKey> generateFaultKeysInDecreasingGranularity​(org.json.JSONObject rpcWhereFaultsInjected)
      • size

        public int size()
        Specified by:
        size in interface FaultKey