public class Service
extends Object
implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
Service.Builder |
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
Service() |
Service(Long serviceID,
String serviceType,
Long nodeID,
Optional<Long> associatedBV,
Optional<Long> associatedTS,
Optional<Long> associatedVS,
Long[] asyncResultIDs,
Optional<Long> driveID,
Boolean firstTimeStartup,
Long ipcPort,
Long iscsiPort,
String status,
Long[] startedDriveIDs,
Long[] driveIDs,
Optional<Boolean> smartSsdWriteEnabled) |
| Modifier and Type | Method and Description |
|---|---|
Service.Builder |
asBuilder() |
static Service.Builder |
builder() |
boolean |
equals(Object o) |
Optional<Long> |
getAssociatedBV()
This service's associated bulk volume service.
|
Optional<Long> |
getAssociatedTS()
This service's associated transport service.
|
Optional<Long> |
getAssociatedVS()
This service's associated volume service.
|
Long[] |
getAsyncResultIDs()
The list of asynchronous jobs currently running for this service.
|
Optional<Long> |
getDriveID()
If this service resides on a drive, the ID of that drive.
|
Long[] |
getDriveIDs() |
Boolean |
getFirstTimeStartup()
Has this service started successfully?
When a new drive is added to the system, the created service will initially have a value of false here.
|
Long |
getIpcPort()
The port used for intra-cluster communication.
|
Long |
getIscsiPort()
The port used for iSCSI traffic.
|
Long |
getNodeID()
The node this service resides on.
|
Long |
getServiceID()
Unique identifier for this service.
|
String |
getServiceType() |
Optional<Boolean> |
getSmartSsdWriteEnabled() |
Long[] |
getStartedDriveIDs() |
String |
getStatus() |
int |
hashCode() |
void |
setAssociatedBV(Optional<Long> associatedBV) |
void |
setAssociatedTS(Optional<Long> associatedTS) |
void |
setAssociatedVS(Optional<Long> associatedVS) |
void |
setAsyncResultIDs(Long[] asyncResultIDs) |
void |
setDriveID(Optional<Long> driveID) |
void |
setDriveIDs(Long[] driveIDs) |
void |
setFirstTimeStartup(Boolean firstTimeStartup) |
void |
setIpcPort(Long ipcPort) |
void |
setIscsiPort(Long iscsiPort) |
void |
setNodeID(Long nodeID) |
void |
setServiceID(Long serviceID) |
void |
setServiceType(String serviceType) |
void |
setSmartSsdWriteEnabled(Optional<Boolean> smartSsdWriteEnabled) |
void |
setStartedDriveIDs(Long[] startedDriveIDs) |
void |
setStatus(String status) |
Map<String,Object> |
toMap() |
String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public Service(Long serviceID, String serviceType, Long nodeID, Optional<Long> associatedBV, Optional<Long> associatedTS, Optional<Long> associatedVS, Long[] asyncResultIDs, Optional<Long> driveID, Boolean firstTimeStartup, Long ipcPort, Long iscsiPort, String status, Long[] startedDriveIDs, Long[] driveIDs, Optional<Boolean> smartSsdWriteEnabled)
public Long getServiceID()
public void setServiceID(Long serviceID)
public String getServiceType()
public void setServiceType(String serviceType)
public Long getNodeID()
public void setNodeID(Long nodeID)
public Optional<Long> getAssociatedBV()
public void setAssociatedBV(Optional<Long> associatedBV)
public Optional<Long> getAssociatedTS()
public void setAssociatedTS(Optional<Long> associatedTS)
public Optional<Long> getAssociatedVS()
public void setAssociatedVS(Optional<Long> associatedVS)
public Long[] getAsyncResultIDs()
public void setAsyncResultIDs(Long[] asyncResultIDs)
public Optional<Long> getDriveID()
public void setDriveID(Optional<Long> driveID)
public Boolean getFirstTimeStartup()
public void setFirstTimeStartup(Boolean firstTimeStartup)
public Long getIpcPort()
public void setIpcPort(Long ipcPort)
public Long getIscsiPort()
public void setIscsiPort(Long iscsiPort)
public String getStatus()
public void setStatus(String status)
public Long[] getStartedDriveIDs()
public void setStartedDriveIDs(Long[] startedDriveIDs)
public Long[] getDriveIDs()
public void setDriveIDs(Long[] driveIDs)
public Optional<Boolean> getSmartSsdWriteEnabled()
public void setSmartSsdWriteEnabled(Optional<Boolean> smartSsdWriteEnabled)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Map<String,Object> toMap()
public String toString()
toString in class Objectpublic static Service.Builder builder()
public final Service.Builder asBuilder()
Copyright © 2014-2016 NetApp, Inc. All Rights Reserved.