Package org.jrd.backend.data
Class VmInfo
java.lang.Object
org.jrd.backend.data.VmInfo
- All Implemented Interfaces:
Serializable
Stores information about Available Virtual Machine.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Integer
static final Comparator<VmInfo>
private static final Comparator<VmInfo>
static final Comparator<VmInfo>
private static final Comparator<VmInfo>
static final Comparator<VmInfo>
private static final long
private VmInfo.Type
private VmDecompilerStatus
private String
private String
private int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static VmInfo
base64Deserialize
(String base64Representation) (package private) String
boolean
static int
getCp()
getType()
getVmId()
int
getVmPid()
int
hashCode()
boolean
hasName()
void
void
private byte[]
void
setBytemanCompanion
(Integer bytemanCompanion) void
void
setType
(VmInfo.Type local) void
setVmDecompilerStatus
(VmDecompilerStatus vmDecompilerStatus) void
void
void
setVmPid
(int vmPid) toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
vmDecompilerStatus
-
vmId
-
vmPid
private int vmPid -
bytemanCompanion
-
vmName
-
type
-
cp
-
HOSTNAME_COMPARATOR
-
PORT_COMPARATOR
-
LOCAL_VM_COMPARATOR
-
REMOTE_VM_COMPARATOR
-
FS_VM_COMPARATOR
-
-
Constructor Details
-
VmInfo
Stores information about Available Virtual Machine.- Parameters:
vmId
- Unique ID for this VmInfovmPid
- Virtual Machine process IDvmName
- Name for the Virtual Machine. Hostname for remote VMstype
- local, remote, type
-
-
Method Details
-
getVmDecompilerStatus
-
setVmDecompilerStatus
-
removeVmDecompilerStatus
public void removeVmDecompilerStatus() -
replaceVmDecompilerStatus
-
getVmId
-
setVmId
-
getVmPid
public int getVmPid() -
setVmPid
public void setVmPid(int vmPid) -
getVmName
-
setVmName
-
getType
-
setType
-
setCp
-
getCp
-
getCpString
-
hasName
public boolean hasName() -
toString
-
equals
-
hashCode
public int hashCode() -
serialize
- Throws:
IOException
-
base64Serialize
- Throws:
IOException
-
base64Deserialize
static VmInfo base64Deserialize(String base64Representation) throws IOException, ClassNotFoundException - Throws:
IOException
ClassNotFoundException
-
getBytemanCompanion
-
setBytemanCompanion
-
findFreePort
- Throws:
IOException
-