public interface Clusterable
String
getInstanceId()
@Nonnull String getInstanceId()
Will return a unique number per instance across the cluster. It will only make its best effort to preserve the same number across restarts but it must be unique across the cluster.
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.