RegisterSign In

API Documentation: Class PathInfo

Package: com.mckoi.network

Encapsulates information about a path in the system, including the service that is the root leader, the root servers, the name of the path, the consensus function, and the version number (for caching).

Methods Summary

String getPathName()
String getConsensusFunction()
int getVersionNumber()
ServiceAddress getRootLeader()
ServiceAddress[] getRootServers()
String formatString()
static PathInfo parseString(String path_name, String str_format)
boolean equals(Object ob)
int hashCode()

Method Details

String getPathName()

String getConsensusFunction()

int getVersionNumber()

ServiceAddress getRootLeader()

ServiceAddress[] getRootServers()

String formatString()

Returns a parsable string of this object, minus the path name.

static PathInfo parseString(String path_name, String str_format)

Parses a formated path info string.

boolean equals(Object ob)

int hashCode()

The text on this page is licensed under the Creative Commons Attribution 3.0 License. Java is a registered trademark of Oracle and/or its affiliates.
Mckoi is Copyright © 2000 - 2020 Diehl and Associates, Inc. All rights reserved.