org.apache.solr.update

## Class PeerSync.PeerSyncResult

- java.lang.Object
- - org.apache.solr.update.PeerSync.PeerSyncResult

- Enclosing class:
    PeerSync

      public static class PeerSync.PeerSyncResult
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PeerSyncResult(boolean success, Boolean otherHasVersions)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static PeerSync.PeerSyncResult` | `failure()`
    `static PeerSync.PeerSyncResult` | `failure(boolean otherHasVersions)`
    `Optional<Boolean>` | `getOtherHasVersions()`
    `boolean` | `isSuccess()`
    `static PeerSync.PeerSyncResult` | `success()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PeerSyncResult

          public PeerSyncResult(boolean success,
                                Boolean otherHasVersions)

  - ### Method Detail

    - #### isSuccess

          public boolean isSuccess()

    - #### getOtherHasVersions

          public Optional<Boolean> getOtherHasVersions()

    - #### success

          public static PeerSync.PeerSyncResult success()

    - #### failure

          public static PeerSync.PeerSyncResult failure()

    - #### failure

          public static PeerSync.PeerSyncResult failure(boolean otherHasVersions)

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.