Constructor and Description |
---|
PeerSyncResult(boolean success,
Boolean otherHasVersions) |
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() |
public PeerSyncResult(boolean success, Boolean otherHasVersions)
public boolean isSuccess()
public static PeerSync.PeerSyncResult success()
public static PeerSync.PeerSyncResult failure()
public static PeerSync.PeerSyncResult failure(boolean otherHasVersions)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.