com.sun.jini.reggie
Class RegistrarImpl.EventLeaseRenewedLogObj

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

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

LogObj class whose instances are recorded to the log file whenever a lease on a registered event is renewed.

See Also:
RegistrarImpl.LocalLogHandler

Field Summary
private  long eventID
          The event id.
private  long leaseExpTime
          The new lease expiration time.
private  Uuid leaseID
          The lease id.
private static long serialVersionUID
           
 
Constructor Summary
RegistrarImpl.EventLeaseRenewedLogObj(long eventID, Uuid leaseID, long leaseExpTime)
          Simple constructor
 
Method Summary
 void apply(RegistrarImpl regImpl)
          Modifies the state of the Registrar by renewing the lease corresponding to the event with ID equal to the contents of the eventID field.
 
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

eventID

private long eventID
The event id.


leaseID

private Uuid leaseID
The lease id.


leaseExpTime

private long leaseExpTime
The new lease expiration time.

Constructor Detail

RegistrarImpl.EventLeaseRenewedLogObj

public RegistrarImpl.EventLeaseRenewedLogObj(long eventID,
                                             Uuid leaseID,
                                             long leaseExpTime)
Simple constructor

Method Detail

apply

public void apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by renewing the lease corresponding to the event with ID equal to the contents of the eventID field.

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.