Tabnine Logo
alluxio.wire
Code IndexAdd Tabnine to your IDE (free)

How to use alluxio.wire

Best Java code snippets using alluxio.wire (Showing top 20 results out of 315)

origin: Alluxio/alluxio

/**
 * @return the group that owns the entity referenced by this uri, mutable
 */
public String getGroup() {
 return mInfo.getGroup();
}
origin: Alluxio/alluxio

/**
 * @return the epoch time the entity referenced by this uri was last modified, mutable
 */
public long getLastModificationTimeMs() {
 return mInfo.getLastModificationTimeMs();
}
origin: Alluxio/alluxio

/**
 * For example for the uri: alluxio://host:1000/foo/bar/baz, baz is the name.
 *
 * @return the last path component of the entity referenced by this uri, mutable
 */
public String getName() {
 return mInfo.getName();
}
origin: Alluxio/alluxio

private static int compareLostWorkersWithTimes(int time1, int time2) {
 WorkerInfo.LastContactSecComparator comparator =
   new WorkerInfo.LastContactSecComparator();
 WorkerInfo worker1 = createRandom();
 WorkerInfo worker2 = createRandom();
 worker1.setLastContactSec(time1);
 worker2.setLastContactSec(time2);
 return comparator.compare(worker1, worker2);
}
origin: Alluxio/alluxio

/**
 * @return the uri of the under storage location of the entity referenced by this uri, mutable
 */
public String getUfsPath() {
 return mInfo.getUfsPath();
}
origin: Alluxio/alluxio

/**
 * @return the length in bytes of the file, 0 for directories, mutable
 */
public long getLength() {
 return mInfo.getLength();
}
origin: Alluxio/alluxio

/**
 * @return the owner of the entity referenced by this uri, mutable
 */
public String getOwner() {
 return mInfo.getOwner();
}
origin: Alluxio/alluxio

/**
 * @return whether the entity referenced by this uri is pinned, mutable
 */
public boolean isPinned() {
 return mInfo.isPinned();
}
origin: Alluxio/alluxio

/**
 * @return a list of block ids belonging to the file, empty for directories, immutable
 */
public List<Long> getBlockIds() {
 return mInfo.getBlockIds();
}
origin: Alluxio/alluxio

/**
 * @return the id of the mount of this file is mapped to
 */
public long getMountId() {
 return mInfo.getMountId();
}
origin: Alluxio/alluxio

/**
 * Creates a new instance of {@link Address} from proto representation.
 *
 * @param address the proto representation of a master address
 * @return the instance
 */
public static Address fromProto(alluxio.grpc.NetAddress address) {
 return new Address(address);
}
origin: Alluxio/alluxio

/**
 * @return the percentage of blocks in Alluxio tier storage, mutable
 */
public int getInAlluxioPercentage() {
 return mInfo.getInAlluxioPercentage();
}
origin: Alluxio/alluxio

/**
 * @return the ufs fingerprint
 */
public String getUfsFingerprint() {
 return mInfo.getUfsFingerprint();
}
origin: Alluxio/alluxio

 /**
  * Creates a new instance of {@link InconsistentProperty} from proto representation.
  *
  * @param inconsistentProperty the proto representation of an inconsistent property
  * @return the instance
  */
 public static InconsistentProperty fromProto(
     alluxio.grpc.InconsistentProperty inconsistentProperty) {
  return new InconsistentProperty(inconsistentProperty);
 }
}
origin: Alluxio/alluxio

/**
 * @return the default ACL entries for this path, mutable
 */
public DefaultAccessControlList getDefaultAcl() {
 return mInfo.getDefaultAcl();
}
origin: Alluxio/alluxio

/**
 * @return the percentage of blocks in Alluxio memory tier storage, mutable
 */
public int getInMemoryPercentage() {
 return mInfo.getInMemoryPercentage();
}
origin: Alluxio/alluxio

/**
 * @return the minimum number of replicas of the entity referenced by this uri, mutable
 */
public int getReplicationMin() {
 return mInfo.getReplicationMin();
}
origin: Alluxio/alluxio

/**
 * @return the list of file block descriptors
 */
public List<FileBlockInfo> getFileBlockInfos() {
 return mInfo.getFileBlockInfos();
}
origin: Alluxio/alluxio

/**
 * @return the maximum number of replicas of the entity referenced by this uri, mutable
 */
public int getReplicationMax() {
 return mInfo.getReplicationMax();
}
origin: Alluxio/alluxio

/**
 * @return whether the entity referenced by this uri is a mount point
 */
public boolean isMountPoint() {
 return mInfo.isMountPoint();
}
alluxio.wire

Most used classes

  • WorkerNetAddress
    The network address of a worker.
  • BlockInfo
    The block information.
  • BlockLocation
    The location of a block.
  • FileBlockInfo
    The file block information.
  • WorkerInfo
    The worker information.
  • BackupResponse,
  • ConfigCheckReport,
  • MountPointInfo,
  • TieredIdentity$LocalityTier,
  • TieredIdentity,
  • BlockMasterInfo,
  • InconsistentProperty,
  • SyncPointInfo,
  • Address,
  • Capacity,
  • FileSystemCommand,
  • FileSystemCommandOptions,
  • PersistCommandOptions,
  • PersistFile
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now