Package | Description |
---|---|
org.apache.river.reggie |
Provides implementations of
ServiceRegistrar . |
Modifier and Type | Class and Description |
---|---|
class |
PersistentRegistrarImpl
Class for starting activatable and non-activatable persistent lookup
services.
|
class |
TransientRegistrarImpl
Class for starting transient lookup services.
|
Modifier and Type | Field and Description |
---|---|
private RegistrarImpl |
RegistrarImpl.LocalLogHandler.reggie |
private RegistrarImpl |
RegistrarImpl.DecodeRequestTask.reggie |
private RegistrarImpl |
RegistrarImpl.AddressTask.reggie |
RegistrarImpl |
RegistrarImpl.SocketTask.reggie |
(package private) RegistrarImpl |
RegistrarImpl.ServiceExpire.reggie |
private RegistrarImpl |
RegistrarImpl.EventExpire.reggie |
private RegistrarImpl |
RegistrarImpl.Destroy.reggie |
private RegistrarImpl |
RegistrarImpl.Multicast.reggie |
private RegistrarImpl |
RegistrarImpl.Unicast.reggie |
private RegistrarImpl |
RegistrarImpl.Announce.reggie |
(package private) RegistrarImpl |
RegistrarImpl.Snapshot.reggie |
Modifier and Type | Method and Description |
---|---|
void |
RegistrarImpl.LogRecord.apply(RegistrarImpl regImpl) |
void |
RegistrarImpl.SvcRegisteredLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by registering the service
stored in the reg object.
|
void |
RegistrarImpl.AttrsAddedLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by adding to all of the
services matching the template, the attributes stored in
attributeSets.
|
void |
RegistrarImpl.AttrsModifiedLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by modifying the attributes
of the services that match the template with the attributes
stored in attributeSets.
|
void |
RegistrarImpl.AttrsSetLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by replacing the attributes
of the services matching the template with the attributes stored
in attributeSets.
|
void |
RegistrarImpl.EventRegisteredLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by registering the event
stored in the eventReg object; and by updating both the event
sequence number and the event ID.
|
void |
RegistrarImpl.ServiceLeaseCancelledLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by cancelling the lease
having ID equal to the contents of the leaseID field; and
corresponding to the service with ID equal to the contents of
the serviceID field.
|
void |
RegistrarImpl.ServiceLeaseRenewedLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by renewing the lease
having ID equal to the contents of the leaseID field; and
corresponding to the service with ID equal to the contents
of the serviceID field.
|
void |
RegistrarImpl.EventLeaseCancelledLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by cancelling the lease
corresponding to the event with ID equal to the contents of
the eventID field.
|
void |
RegistrarImpl.EventLeaseRenewedLogObj.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.
|
void |
RegistrarImpl.LeasesRenewedLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by renewing the specified
leases.
|
void |
RegistrarImpl.LeasesCancelledLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by cancelling the specified
leases.
|
void |
RegistrarImpl.UnicastPortSetLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by setting the value of the
private unicastPort field to the value of the newPort field.
|
void |
RegistrarImpl.LookupGroupsChangedLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by setting the private
field lookupGroups to the reference to the groups field.
|
void |
RegistrarImpl.LookupLocatorsChangedLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by setting the private
field lookupLocators to the reference to the locators field.
|
void |
RegistrarImpl.MemberGroupsChangedLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by setting the private
memberGroups field to the reference to the groups field.
|
void |
RegistrarImpl.LookupAttributesChangedLogObj.apply(RegistrarImpl regImpl)
Modifies the state of the Registrar by setting the private
field lookupAttrs to the reference to the attrs field.
|
Constructor and Description |
---|
AddressTask(String host,
int port,
RegistrarImpl reggie)
Simple constructor
|
Announce(RegistrarImpl reggie)
Create a daemon thread.
|
DecodeRequestTask(DatagramPacket datagram,
Discovery decoder,
RegistrarImpl reggie,
Set<RegistrarImpl.AddressTask> runningTasks) |
Destroy(RegistrarImpl reggie)
Create a non-daemon thread
|
EventExpire(RegistrarImpl reggie)
Create a daemon thread
|
LocalLogHandler(RegistrarImpl reggie)
Simple constructor
|
Multicast(RegistrarImpl reggie)
Create a high priority daemon thread.
|
ServiceExpire(RegistrarImpl reggie) |
Snapshot(RegistrarImpl reggie)
Create a daemon thread
|
SocketTask(Socket socket,
RegistrarImpl reggie)
Simple constructor
|
Unicast(RegistrarImpl reggie,
int port)
Create a daemon thread.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.