public class Dependency extends Object
Modifier and Type | Field and Description |
---|---|
List<Integer> |
CHILDREN_FILES |
String |
COMMAND_PREFIX |
String |
COMMENT |
long |
CREATION_TIME_MS |
List<ByteBuffer> |
DATA |
String |
FRAMEWORK |
String |
FRAMEWORK_VERSION |
int |
ID |
List<Integer> |
PARENT_DEPENDENCIES |
List<Integer> |
PARENT_FILES |
DependencyType |
TYPE |
Constructor and Description |
---|
Dependency(int id,
List<Integer> parents,
List<Integer> children,
String commandPrefix,
List<ByteBuffer> data,
String comment,
String framework,
String frameworkVersion,
DependencyType type,
Collection<Integer> parentDependencies,
long creationTimeMs) |
Modifier and Type | Method and Description |
---|---|
void |
addChildrenDependency(int childDependencyId) |
void |
addLostFile(int fileId) |
void |
childCheckpointed(int childFileId) |
ClientDependencyInfo |
generateClientDependencyInfo() |
List<Integer> |
getChildrenDependency() |
String |
getCommand() |
List<Integer> |
getLostFiles() |
boolean |
hasCheckpointed() |
boolean |
hasChildrenDependency() |
boolean |
hasLostFile() |
String |
toString() |
public final int ID
public final long CREATION_TIME_MS
public final String COMMAND_PREFIX
public final List<ByteBuffer> DATA
public final String COMMENT
public final String FRAMEWORK
public final String FRAMEWORK_VERSION
public final DependencyType TYPE
public Dependency(int id, List<Integer> parents, List<Integer> children, String commandPrefix, List<ByteBuffer> data, String comment, String framework, String frameworkVersion, DependencyType type, Collection<Integer> parentDependencies, long creationTimeMs)
public String getCommand()
public ClientDependencyInfo generateClientDependencyInfo()
public void addChildrenDependency(int childDependencyId)
public boolean hasChildrenDependency()
public boolean hasCheckpointed()
public void childCheckpointed(int childFileId)
public void addLostFile(int fileId)
public boolean hasLostFile()
Copyright © 2014. All rights reserved.