Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for failureCalls (0.07 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
        FutureCallback<String> callback =
            new FutureCallback<String>() {
              @Override
              public void onSuccess(String result) {
                successCalls[0]++;
                throw exception;
              }
    
              @Override
              public void onFailure(Throwable t) {
                failureCalls[0]++;
              }
            };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        int[] successCalls = new int[1];
        int[] failureCalls = new int[1];
        FutureCallback<String> callback =
            new FutureCallback<String>() {
              @Override
              public void onSuccess(String result) {
                successCalls[0]++;
                throw exception;
              }
    
              @Override
              public void onFailure(Throwable t) {
                failureCalls[0]++;
              }
            };
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top