RingJavafor Ring

java.rmi.dgc

3 classes of the module java.rmi.

Load them with:

using {
	"java.rmi.dgc"
}

All packages

DGC#

interface · java.rmi.dgc.DGC

Extends: Remote

Methods

MethodRing callJava overloads
cleanclean(ids,sequenceNum,vmid,strong)void clean(ObjID[] ids, long sequenceNum, VMID vmid, boolean strong)
dirtydirty(ids,sequenceNum,lease)Lease dirty(ObjID[] ids, long sequenceNum, Lease lease)

Lease#

class final · extends Object · java.rmi.dgc.Lease

Implements: Serializable

Constructors

new Lease(VMID id, long duration)

Ring: new Lease(args) uses the constructor with the fewest parameters (at least one); new Lease makes the object with the constructor without parameters; the others: (new Lease).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
getValuegetValue()long getValue()
getVMIDgetVMID()VMID getVMID()

The methods and fields of Object are inherited.

VMID#

class final · extends Object · java.rmi.dgc.VMID

Implements: Serializable

Constructors

new VMID()

Ring: new VMID(args) uses the constructor with the fewest parameters (at least one); new VMID makes the object with the constructor without parameters; the others: (new VMID).@New([ :param = value ]) or .@New([v1,v2]).

Methods

MethodRing callJava overloads
isUniqueisUnique()static boolean isUnique()

The methods and fields of Object are inherited.

RingJava - use Java classes and methods from Ring programs.