GigaSpaces XAP 10.0.1 API

org.openspaces.grid.gsm.machines.isolation
Class SharedMachineIsolation

java.lang.Object
  extended by org.openspaces.grid.gsm.machines.isolation.ElasticProcessingUnitMachineIsolation
      extended by 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

Constructor Summary
SharedMachineIsolation(String sharingId)
           
 
Method Summary
 boolean equals(Object other)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SharedMachineIsolation

public SharedMachineIsolation(String sharingId)
Method Detail

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.

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.