com.sun.jini.reggie
Class RegistrarImpl.LeasesRenewedLogObj

java.lang.Object
  extended by com.sun.jini.reggie.RegistrarImpl.LeasesRenewedLogObj
All Implemented Interfaces:
RegistrarImpl.LogRecord, Serializable
Enclosing class:
RegistrarImpl

private static class RegistrarImpl.LeasesRenewedLogObj
extends Object
implements RegistrarImpl.LogRecord

LogObj class whose instances are recorded to the log file whenever a leases in the Registrar is renewed via a LeaseMap.

See Also:
RegistrarImpl.LocalLogHandler

Field Summary
private  long[] leaseExpTimes
          The new lease expiration times.
private  Uuid[] leaseIDs
          The lease ids.
private  Object[] regIDs
          The service and event ids.
private static long serialVersionUID
           
 
Constructor Summary
RegistrarImpl.LeasesRenewedLogObj(Object[] regIDs, Uuid[] leaseIDs, long[] leaseExpTimes)
          Simple constructor
 
Method Summary
 void apply(RegistrarImpl regImpl)
          Modifies the state of the Registrar by renewing the specified leases.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

regIDs

private Object[] regIDs
The service and event ids.


leaseIDs

private Uuid[] leaseIDs
The lease ids.


leaseExpTimes

private long[] leaseExpTimes
The new lease expiration times.

Constructor Detail

RegistrarImpl.LeasesRenewedLogObj

public RegistrarImpl.LeasesRenewedLogObj(Object[] regIDs,
                                         Uuid[] leaseIDs,
                                         long[] leaseExpTimes)
Simple constructor

Method Detail

apply

public void apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by renewing the specified leases.

Specified by:
apply in interface RegistrarImpl.LogRecord
See Also:
RegistrarImpl.LocalLogHandler.applyUpdate(java.lang.Object)


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.