Class SecretClientOp<I,​O>

java.lang.Object
io.datarouter.secret.client.SecretClientOp<I,​O>
Direct Known Subclasses:
SecretClientOps.CreateOp, SecretClientOps.DeleteOp, SecretClientOps.ListNamesOp, SecretClientOps.PutOp, SecretClientOps.ReadOp, SecretClientOps.UpdateOp

public abstract class SecretClientOp<I,​O>
extends java.lang.Object
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  SecretClientOp.SecretClientOpResult<T>  
  • Constructor Summary

    Constructors 
    Constructor Description
    SecretClientOp​(java.lang.String validationCounterName, java.lang.String opCounterName, java.util.function.Consumer<I> validationMethod, java.util.function.Function<I,​O> opMethod)  
    SecretClientOp​(java.lang.String opCounterName, java.util.function.Function<I,​O> opMethod)  
  • Method Summary

    Modifier and Type Method Description
    SecretClientOp.SecretClientOpResult<O> validateAndExecute​(I input)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SecretClientOp

      public SecretClientOp​(java.lang.String opCounterName, java.util.function.Function<I,​O> opMethod)
    • SecretClientOp

      public SecretClientOp​(java.lang.String validationCounterName, java.lang.String opCounterName, java.util.function.Consumer<I> validationMethod, java.util.function.Function<I,​O> opMethod)
  • Method Details