org.openspaces.grid.gsm.machines.isolation
Class SharedMachineIsolation
java.lang.Object
org.openspaces.grid.gsm.machines.isolation.ElasticProcessingUnitMachineIsolation
org.openspaces.grid.gsm.machines.isolation.SharedMachineIsolation
public class SharedMachineIsolation
- extends ElasticProcessingUnitMachineIsolation
Indicates that the processing unit does not require dedicated machines.
It can be deployed on machines with other processing units that require shared machine isolation with the same sharingId.
It cannot be deployed with public processing units nor with shared processing units that have a different sharingId.
- Author:
- itaif
SharedMachineIsolation
public SharedMachineIsolation(String sharingId)
toString
public String toString()
- Specified by:
toString
in class ElasticProcessingUnitMachineIsolation
- Returns:
- a unique identifier for this machine isolation
equals
public boolean equals(Object other)
- Specified by:
equals
in class ElasticProcessingUnitMachineIsolation
- Returns:
- true if this processing unit can be deployed on the same machine as the specified processing unit deployment.
hashCode
public int hashCode()
- Specified by:
hashCode
in class ElasticProcessingUnitMachineIsolation
getName
public String getName()
- Specified by:
getName
in class ElasticProcessingUnitMachineIsolation
- Returns:
- non-unique name that is specific to this isolation type.
Copyright © GigaSpaces.