public class DiskTierConfig extends Object implements IdentifiedDataSerializable
| Constructor and Description |
|---|
DiskTierConfig() |
DiskTierConfig(DiskTierConfig diskTierConfig) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getClassId()
Returns type identifier for this class.
|
String |
getDeviceName()
Returns the device name of this disk tier.
|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
int |
hashCode() |
boolean |
isEnabled()
Returns whether disk tier is enabled on the related tiered-store.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
DiskTierConfig |
setDeviceName(String deviceName)
Sets the device name for this disk tier.
|
DiskTierConfig |
setEnabled(boolean enabled)
Sets whether disk tier is enabled on the related tiered-store.
|
String |
toString() |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
public DiskTierConfig()
public DiskTierConfig(DiskTierConfig diskTierConfig)
public boolean isEnabled()
public DiskTierConfig setEnabled(boolean enabled)
enabled - enabled parameter.public String getDeviceName()
public DiskTierConfig setDeviceName(@Nonnull String deviceName)
deviceName - device name.public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
input stream has been closed.public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getClassId()
IdentifiedDataSerializablegetClassId in interface IdentifiedDataSerializableCopyright © 2023 Hazelcast, Inc.. All rights reserved.