visad.cluster
Class RemoteClusterDataImpl
- java.lang.Object
-
- java.rmi.server.RemoteObject
-
- java.rmi.server.RemoteServer
-
- java.rmi.server.UnicastRemoteObject
-
- visad.RemoteThingImpl
-
- visad.RemoteDataImpl
-
- visad.cluster.RemoteClusterDataImpl
-
- All Implemented Interfaces:
- java.io.Serializable, java.rmi.Remote, RemoteClusterData, Data, RemoteData, RemoteThing, Thing
- Direct Known Subclasses:
- RemoteClientDataImpl, RemoteNodeDataImpl
public abstract class RemoteClusterDataImpl extends RemoteDataImpl implements RemoteClusterData
RemoteClusterDataImpl is the super class for cluster client and node Data.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface visad.Data
ABS, ACOS, ACOS_DEGREES, ADD, ASIN, ASIN_DEGREES, ATAN, ATAN_DEGREES, ATAN2, ATAN2_DEGREES, CEIL, COS, COS_DEGREES, DEGREES_TO_RADIANS, DEPENDENT, DIVIDE, EXP, FLOOR, INDEPENDENT, INV_ATAN2, INV_ATAN2_DEGREES, INV_DIVIDE, INV_POW, INV_REMAINDER, INV_SUBTRACT, LOG, MAX, MIN, MULTIPLY, NEAREST_NEIGHBOR, NEGATE, NO_ERRORS, NOP, POW, RADIANS_TO_DEGREES, REMAINDER, RINT, ROUND, SIN, SIN_DEGREES, SQRT, SUBTRACT, TAN, TAN_DEGREES, WEIGHTED_AVERAGE
-
-
Constructor Summary
Constructors Constructor and Description RemoteClusterDataImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddReference(ThingReference r)add a ThingReference to this RemoteThingImpl; must be RemoteThingReference; called by ThingReference.setThingbooleanclusterDataEquals(RemoteClusterData cd)RemoteClusterDatagetClusterData(RealTuple domain)return RemoteClusterData for JVM where data resides; may be RemoteClusterData for client for non-partitioned data; may be null for partitioned data outside partitoningSetgetPartitionSet()DataImpllocal()static voidmain(java.lang.String[] args)voidnotifyReferences()voidremoveReference(ThingReference r)remove a ThingReference to this RemoteThingImpl; must be RemoteThingReferenceImpl; called by ThingReference.setThingvoidsetParent(RemoteClusterDataImpl p)voidsetupClusterData(Set ps, RemoteClusterData[] table)-
Methods inherited from class visad.RemoteDataImpl
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, isMissing, log, log, longString, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary, unary
-
Methods inherited from class visad.RemoteThingImpl
getTick, incTick
-
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
-
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
-
Methods inherited from interface visad.Data
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, isMissing, log, log, longString, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary, unary
-
Methods inherited from interface visad.RemoteThing
getTick, incTick
-
-
-
-
Constructor Detail
-
RemoteClusterDataImpl
public RemoteClusterDataImpl() throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
-
Method Detail
-
getClusterData
public RemoteClusterData getClusterData(RealTuple domain) throws java.rmi.RemoteException, VisADException
return RemoteClusterData for JVM where data resides; may be RemoteClusterData for client for non-partitioned data; may be null for partitioned data outside partitoning- Specified by:
getClusterDatain interfaceRemoteClusterData- Throws:
java.rmi.RemoteExceptionVisADException
-
setupClusterData
public void setupClusterData(Set ps, RemoteClusterData[] table) throws java.rmi.RemoteException, VisADException
- Specified by:
setupClusterDatain interfaceRemoteClusterData- Throws:
java.rmi.RemoteExceptionVisADException
-
getPartitionSet
public Set getPartitionSet()
-
clusterDataEquals
public boolean clusterDataEquals(RemoteClusterData cd) throws java.rmi.RemoteException
- Specified by:
clusterDataEqualsin interfaceRemoteClusterData- Throws:
java.rmi.RemoteException
-
setParent
public void setParent(RemoteClusterDataImpl p)
-
notifyReferences
public void notifyReferences() throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
addReference
public void addReference(ThingReference r) throws VisADException
Description copied from class:RemoteThingImpladd a ThingReference to this RemoteThingImpl; must be RemoteThingReference; called by ThingReference.setThing- Specified by:
addReferencein interfaceThing- Overrides:
addReferencein classRemoteThingImpl- Throws:
VisADException
-
removeReference
public void removeReference(ThingReference r) throws VisADException
Description copied from class:RemoteThingImplremove a ThingReference to this RemoteThingImpl; must be RemoteThingReferenceImpl; called by ThingReference.setThing- Specified by:
removeReferencein interfaceThing- Overrides:
removeReferencein classRemoteThingImpl- Throws:
VisADException
-
local
public DataImpl local() throws VisADException, java.rmi.RemoteException
- Specified by:
localin interfaceData- Overrides:
localin classRemoteDataImpl- Returns:
- a local copy (AdaptedData, which is Serializable)
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
main
public static void main(java.lang.String[] args) throws java.rmi.RemoteException, VisADException- Throws:
java.rmi.RemoteExceptionVisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG