public class Dependency extends ImageWriter
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() |
void |
writeImage(com.fasterxml.jackson.databind.ObjectWriter objWriter,
DataOutputStream dos) |
writeElement
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 void addChildrenDependency(int childDependencyId)
public void addLostFile(int fileId)
public void childCheckpointed(int childFileId)
public ClientDependencyInfo generateClientDependencyInfo()
public String getCommand()
public boolean hasCheckpointed()
public boolean hasChildrenDependency()
public boolean hasLostFile()
public void writeImage(com.fasterxml.jackson.databind.ObjectWriter objWriter, DataOutputStream dos) throws IOException
IOException
Copyright © 2014. All rights reserved.