Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
M
N
P
R
S
T
U
A
abort()
- Method in interface com.wiley.posa3.coordinator.
Coordination
The abort() method is called by the coordinator to stop the execution of the task.
acquire(Identity)
- Method in interface com.wiley.posa3.caching.
Cache
Acquire the resource from the cache corresponding to id.
acquire(Identity)
- Method in class com.wiley.posa3.caching.
CacheImpl
Acquire the resource from the cache corresponding to id.
acquire()
- Method in class com.wiley.posa3.pooling.
ConnectionPool
Acquire a connection from the pool.
acquire()
- Method in interface com.wiley.posa3.pooling.
Pool
Acquire a resource from the pool.
acquire()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ConnectionPool
Acquire a managed resource (that is, a connection) from the pool.
acquire(ResourceType)
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceLifecycleManager
This method tries to acquire a resource of the given type.
add(ManagedResource, ResourceType)
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceGroup
Add a managed resource to the group.
addResourceToGroup(ManagedResource, ResourceGroup)
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceLifecycleManager
Add a resource to an existing group.
authenticate(SecurityToken)
- Method in class com.wiley.posa3.resourcelifecyclemanager.
Connection
Authenticate the connection using the security token
B
beforeEviction()
- Method in interface com.wiley.posa3.evictor.
EvictionInterface
The beforeEviction() method serves as a hook method that can be called by the Evictor before it evicts an object.
beforeEviction()
- Method in class com.wiley.posa3.evictor.
NetworkElement
The beforeEviction() method serves as a hook method that can be called by the Evictor before it evicts an object.
beforeEviction()
- Method in class com.wiley.posa3.evictor.
NetworkElementComponent
The beforeEviction() method serves as a hook method that can be called by the Evictor before it evicts an object.
beforeEviction()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
Connection
The beforeEviction() method serves as a hook method that can be called by the Evictor before it evicts an object.
beforeEviction()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
SecurityToken
The beforeEviction() method serves as a hook method that can be called by the Evictor before it evicts an object.
beginTask()
- Method in interface com.wiley.posa3.coordinator.
Coordinator
The beginTask() method is used by the client to define the beginning of a task.
beginTask()
- Method in class com.wiley.posa3.coordinator.
SWCoordinator
The beginTask() method is used by the client to define the beginning of a task.
C
CONNECTION
- Static variable in class com.wiley.posa3.resourcelifecyclemanager.
ResourceType
Connection resource
Cache
- interface com.wiley.posa3.caching.
Cache
.
Cache is the base interface for any type of caching implementation.
CacheImpl
- class com.wiley.posa3.caching.
CacheImpl
.
CacheImpl is an implementation of the Cache interface.
CacheImpl()
- Constructor for class com.wiley.posa3.caching.
CacheImpl
CentralAdministrator
- class com.wiley.posa3.coordinator.
CentralAdministrator
.
CentralAdministrator is the client that uses the SWCoordinator to coordinate the software update of all the participants.
CentralAdministrator()
- Constructor for class com.wiley.posa3.coordinator.
CentralAdministrator
Client
- class com.wiley.posa3.partialacquisition.
Client
.
Client creates a TopologyManager and uses that to fetch the details of all the NEs.
Client()
- Constructor for class com.wiley.posa3.partialacquisition.
Client
Client
- class com.wiley.posa3.resourcelifecyclemanager.
Client
.
Client creates a ResourceLifecycleManager and uses that to acquire, manage and release resources.
Client()
- Constructor for class com.wiley.posa3.resourcelifecyclemanager.
Client
Connection
- class com.wiley.posa3.pooling.
Connection
.
A Connection is a resource that when no longer needed is returned to a Pool.
Connection()
- Constructor for class com.wiley.posa3.pooling.
Connection
Default constuctor.
Connection(Identity)
- Constructor for class com.wiley.posa3.pooling.
Connection
Constuctor.
Connection
- class com.wiley.posa3.resourcelifecyclemanager.
Connection
.
Connection is a resource that implements both ManagedResource and EvictionInteface.
Connection()
- Constructor for class com.wiley.posa3.resourcelifecyclemanager.
Connection
ConnectionAdapter
- class com.wiley.posa3.pooling.
ConnectionAdapter
.
A ConnectionAdapter class is used for legacy code integration, where it may not be possible to have the resource implement the Resource interface.
ConnectionAdapter(Connection)
- Constructor for class com.wiley.posa3.pooling.
ConnectionAdapter
Constuctor.
ConnectionAdapter(Connection, Identity)
- Constructor for class com.wiley.posa3.pooling.
ConnectionAdapter
Constuctor.
ConnectionFactory
- class com.wiley.posa3.resourcelifecyclemanager.
ConnectionFactory
.
The ConnectionFactory creates new connections based on a configured strategy.
ConnectionFactory()
- Constructor for class com.wiley.posa3.resourcelifecyclemanager.
ConnectionFactory
Default Constructor
ConnectionPool
- class com.wiley.posa3.pooling.
ConnectionPool
.
ConnectionPool is a concrete implementation of the Pool interface and provides a pool of connecton objects.
ConnectionPool()
- Constructor for class com.wiley.posa3.pooling.
ConnectionPool
ConnectionPool
- class com.wiley.posa3.resourcelifecyclemanager.
ConnectionPool
.
The ConnectionPool class implements the Pooling pattern by providing an implementation of the Pool interface.
ConnectionPool()
- Constructor for class com.wiley.posa3.resourcelifecyclemanager.
ConnectionPool
Default Constructor
Coordination
- interface com.wiley.posa3.coordinator.
Coordination
.
Coordination interface is implemented by all participants that will execute part of the work of a task.
Coordinator
- interface com.wiley.posa3.coordinator.
Coordinator
.
Coordinator interface provides the means for a client to begin or terminate a task.
call()
- Method in class com.wiley.posa3.partialacquisition.
FetchNEComponents
Method that is invoked by the scheduler and does the actual work.
call()
- Method in interface com.wiley.posa3.partialacquisition.
Request
Method that is invoked by the scheduler and does the actual work.
canRun()
- Method in class com.wiley.posa3.partialacquisition.
FetchNEComponents
Method that is invoked by the scheduler to see if the request can be executed.
canRun()
- Method in interface com.wiley.posa3.partialacquisition.
Request
Method that is invoked by the scheduler to see if the request can be executed.
com.wiley.posa3.caching
- package com.wiley.posa3.caching
com.wiley.posa3.common
- package com.wiley.posa3.common
com.wiley.posa3.coordinator
- package com.wiley.posa3.coordinator
com.wiley.posa3.evictor
- package com.wiley.posa3.evictor
com.wiley.posa3.lazyacquisition
- package com.wiley.posa3.lazyacquisition
com.wiley.posa3.partialacquisition
- package com.wiley.posa3.partialacquisition
com.wiley.posa3.pooling
- package com.wiley.posa3.pooling
com.wiley.posa3.resourcelifecyclemanager
- package com.wiley.posa3.resourcelifecyclemanager
commit()
- Method in interface com.wiley.posa3.coordinator.
Coordination
The commit() method is called by the coordinator to ask each participant to do the actual work.
commitTask()
- Method in interface com.wiley.posa3.coordinator.
Coordinator
The commitTask() method is executed by the client once all the participants have registered.
commitTask()
- Method in class com.wiley.posa3.coordinator.
SWCoordinator
The commitTask() method is executed by the client once all the participants have registered.
create()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ConnectionFactory
Create an instance of a managed resource -- in this case a Connection object.
create()
- Method in interface com.wiley.posa3.resourcelifecyclemanager.
ResourceFactory
Create an instance of a managed resource.
createGroup(String, ManagedResource[])
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceLifecycleManager
Create a group and add all the resources to that group
D
DBWrapper
- class com.wiley.posa3.lazyacquisition.
DBWrapper
.
DBWrapper is a wrapper class that hides access of image byte data.
DBWrapper()
- Constructor for class com.wiley.posa3.lazyacquisition.
DBWrapper
Details
- class com.wiley.posa3.partialacquisition.
Details
.
Details contains all the information about a network element.
Details()
- Constructor for class com.wiley.posa3.partialacquisition.
Details
E
EvictionInterface
- interface com.wiley.posa3.evictor.
EvictionInterface
.
EvictionInterface is an interface that will be implemented by all objects that can be evicted.
Evictor
- class com.wiley.posa3.evictor.
Evictor
.
An Evictor evicts resource based on one or more strategies.
Evictor()
- Constructor for class com.wiley.posa3.evictor.
Evictor
Default constuctor
F
FetchNEComponents
- class com.wiley.posa3.partialacquisition.
FetchNEComponents
.
The FetchNEComponents class contains the main logic for retrieving the details of the components of the network element.
FetchNEComponents(String)
- Constructor for class com.wiley.posa3.partialacquisition.
FetchNEComponents
Constructor.
G
getAddress()
- Method in interface com.wiley.posa3.lazyacquisition.
PatientRecord
Get the address of the patient
getConnection()
- Method in class com.wiley.posa3.pooling.
ConnectionAdapter
Get the connection object
getData()
- Method in interface com.wiley.posa3.lazyacquisition.
Image
Get the image byte data.
getData()
- Method in class com.wiley.posa3.lazyacquisition.
ImageProxy
Get the image byte data.
getDate()
- Method in interface com.wiley.posa3.lazyacquisition.
MedicalExam
Get the date of this exam
getDetailsForNE(String)
- Method in class com.wiley.posa3.partialacquisition.
TopologyManager
Retrieve the details for a specific network element.
getID()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceGroup
Get the id of the group
getId()
- Method in interface com.wiley.posa3.common.
Resource
Get the identity of this resource
getId()
- Method in class com.wiley.posa3.lazyacquisition.
ResourceProxy
Get the identity of this resource
getId()
- Method in class com.wiley.posa3.lazyacquisition.
ResourceX
Get the identity of this resource
getId()
- Method in class com.wiley.posa3.pooling.
Connection
Get the identity of this resource
getId()
- Method in class com.wiley.posa3.pooling.
ConnectionAdapter
Get the identity of this resource
getId()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
Connection
Get the identity of this resource
getId()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
SecurityToken
Get the identity of this resource
getImage(int)
- Method in class com.wiley.posa3.lazyacquisition.
DBWrapper
Get the image byte data.
getImage()
- Method in interface com.wiley.posa3.lazyacquisition.
MedicalExam
Get the digitized image for this exam
getMedicalExams()
- Method in interface com.wiley.posa3.lazyacquisition.
PatientRecord
Get a list of medical exams for this patient
getName()
- Method in interface com.wiley.posa3.lazyacquisition.
PatientRecord
Get the name of the patient
I
Identity
- interface com.wiley.posa3.common.
Identity
.
Interface Identity represents a unique identification for each resource.
Image
- interface com.wiley.posa3.lazyacquisition.
Image
.
Image interface encapsulates the byte data representing an image such as JPEG or GIF.
ImageProxy
- class com.wiley.posa3.lazyacquisition.
ImageProxy
.
ImageProxy encapsulates the byte data representing an image such as JPEG or GIF.
ImageProxy(DBWrapper, int)
- Constructor for class com.wiley.posa3.lazyacquisition.
ImageProxy
Constructor.
info()
- Method in interface com.wiley.posa3.evictor.
EvictionInterface
The info() method is used by the Evictor to extract strategy-specific information from the object, to determine whether or not to evict it.
info()
- Method in class com.wiley.posa3.evictor.
NetworkElement
The info() method is used by the Evictor to extract strategy-specific information from the object, to determine whether or not to evict it.
info()
- Method in class com.wiley.posa3.evictor.
NetworkElementComponent
The info() method is used by the Evictor to extract strategy-specific information from the component, to determine whether or not to evict it.
info()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
Connection
The info() method is used by the Evictor to extract strategy-specific information from the object, to determine whether or not to evict it.
info()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
SecurityToken
The info() method is used by the Evictor to extract strategy-specific information from the object, to determine whether or not to evict it.
insert(Request)
- Method in interface com.wiley.posa3.partialacquisition.
MessageQueue
Insert a request into the queue
insert(Request)
- Method in class com.wiley.posa3.partialacquisition.
Scheduler
Insert a request into the message queue of the scheduler.
isEvictable()
- Method in interface com.wiley.posa3.evictor.
EvictionInterface
The method isEvictable() is used to determine whether this object is evictable.
isEvictable()
- Method in class com.wiley.posa3.evictor.
NetworkElement
The method isEvictable() is used to determine whether this network element is evictable.
isEvictable()
- Method in class com.wiley.posa3.evictor.
NetworkElementComponent
The method isEvictable() is used to determine whether this network element component is evictable.
isEvictable()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
Connection
The method isEvictable() is used to determine whether this connection object is evictable.
isEvictable()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
SecurityToken
The method isEvictable() is used to determine whether this scurity token is evictable.
iterator()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceGroup
Return an iterator over the collection of resources that this group holds
M
ManagedResource
- interface com.wiley.posa3.resourcelifecyclemanager.
ManagedResource
.
The ManagedResrouce extends the Resource interface by adding one more method that returns the type of the resource.
MedicalExam
- interface com.wiley.posa3.lazyacquisition.
MedicalExam
.
MedicalExam is an interface representing an exam that a patient undergoes.
MessageQueue
- interface com.wiley.posa3.partialacquisition.
MessageQueue
.
MessageQueue provides an interface for a message queue to be used in implementation of the Active Object pattern.
main(String[])
- Static method in class com.wiley.posa3.partialacquisition.
Client
Main driver program
main(String[])
- Static method in class com.wiley.posa3.resourcelifecyclemanager.
Client
Main driver program
method1()
- Method in interface com.wiley.posa3.common.
Resource
Some generic method.
method1()
- Method in class com.wiley.posa3.lazyacquisition.
ResourceProxy
Some generic method.
method1()
- Method in class com.wiley.posa3.lazyacquisition.
ResourceX
Some generic method.
method1()
- Method in class com.wiley.posa3.pooling.
Connection
Some generic method.
method1()
- Method in class com.wiley.posa3.pooling.
ConnectionAdapter
Some generic method.
method1()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
Connection
Some generic method.
method1()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
SecurityToken
Some generic method.
method2()
- Method in interface com.wiley.posa3.common.
Resource
Some generic method.
method2()
- Method in class com.wiley.posa3.lazyacquisition.
ResourceProxy
Some generic method.
method2()
- Method in class com.wiley.posa3.lazyacquisition.
ResourceX
Some generic method.
method2()
- Method in class com.wiley.posa3.pooling.
Connection
Some generic method.
method2()
- Method in class com.wiley.posa3.pooling.
ConnectionAdapter
Some generic method.
method2()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
Connection
Some generic method.
method2()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
SecurityToken
Some generic method.
N
NetworkElement
- class com.wiley.posa3.evictor.
NetworkElement
.
NetworkElement is a resource that can be evicted and therefore implements the EvictionInterface.
NetworkElement()
- Constructor for class com.wiley.posa3.evictor.
NetworkElement
NetworkElementComponent
- class com.wiley.posa3.evictor.
NetworkElementComponent
.
NetworkElementComponent is a component of a network element.
NetworkElementComponent()
- Constructor for class com.wiley.posa3.evictor.
NetworkElementComponent
P
PatientRecord
- interface com.wiley.posa3.lazyacquisition.
PatientRecord
.
PatientRecord is an interface representing all the information for a patient
Pool
- interface com.wiley.posa3.pooling.
Pool
.
Pool provides an interface for the acquisition and release of * resources by resource users.
Properties
- interface com.wiley.posa3.partialacquisition.
Properties
.
Properties provides an interface for capturing network element properties.
prepare()
- Method in interface com.wiley.posa3.coordinator.
Coordination
The prepare() method is used by the coordinator to initiate the prepare phase of each participant.
R
Request
- interface com.wiley.posa3.partialacquisition.
Request
.
Request is an interface of commands to be handled by the active object asynchronously.
Resource
- interface com.wiley.posa3.common.
Resource
.
Resource is the base interface for all types of resource.
ResourceFactory
- interface com.wiley.posa3.resourcelifecyclemanager.
ResourceFactory
.
ResourceFactory is an interface that is implemented by all the resource factories.
ResourceGroup
- class com.wiley.posa3.resourcelifecyclemanager.
ResourceGroup
.
The ResourceGroup associates two or more resources with each other.
ResourceGroup(String)
- Constructor for class com.wiley.posa3.resourcelifecyclemanager.
ResourceGroup
Constructor.
ResourceLifecycleManager
- class com.wiley.posa3.resourcelifecyclemanager.
ResourceLifecycleManager
.
The ResourceLifecycleManager class provides the primary interface for the RLM pattern.
ResourceLifecycleManager()
- Constructor for class com.wiley.posa3.resourcelifecyclemanager.
ResourceLifecycleManager
Default Constructor
ResourceNotFound
- exception com.wiley.posa3.caching.
ResourceNotFound
.
ResourceNotFound is an exception that is thrown when a resource is being looked for is not found.
ResourceNotFound(String)
- Constructor for class com.wiley.posa3.caching.
ResourceNotFound
Constructor.
ResourceProxy
- class com.wiley.posa3.lazyacquisition.
ResourceProxy
.
A ResourceProxy intercepts resource acquisitions by the resource user and hands the lazily acquired resources to the resource user.
ResourceProxy()
- Constructor for class com.wiley.posa3.lazyacquisition.
ResourceProxy
ResourceType
- class com.wiley.posa3.resourcelifecyclemanager.
ResourceType
.
ResourceType is an Enum class containing the types of resources
ResourceX
- class com.wiley.posa3.lazyacquisition.
ResourceX
.
ResourceX is a resource whose acquisition is intercepted by the ResourceProxy and is acquired only when the user tries to access the resource.
ResourceX()
- Constructor for class com.wiley.posa3.lazyacquisition.
ResourceX
register(Coordination)
- Method in interface com.wiley.posa3.coordinator.
Coordinator
The register() method is used by the participants to register themselves with the coordinator once a task has begun.
register(Coordination)
- Method in class com.wiley.posa3.coordinator.
SWCoordinator
The register() method is used by the software download participants to register themselves with the SWCoordinator once a task has begun.
release(Resource)
- Method in interface com.wiley.posa3.caching.
Cache
Put the released resource into the cache so that it can be acquired later.
release(Resource)
- Method in class com.wiley.posa3.caching.
CacheImpl
Put the released resource into the cache so that it can be acquired later.
release(Resource)
- Method in class com.wiley.posa3.pooling.
ConnectionPool
Release the connection back to the pool.
release(Resource)
- Method in interface com.wiley.posa3.pooling.
Pool
Release the resource back to the pool.
release(Resource)
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ConnectionPool
Release a managed resource (that is, a connection) to the pool.
release()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceGroup
Release all the resources contained in this group
release(ResourceGroup)
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceLifecycleManager
Release all resources belonging to the ResourceGroup.
release(ManagedResource)
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceLifecycleManager
Release the resource as well as any dependent resources.
run()
- Method in class com.wiley.posa3.evictor.
Evictor
Start execution in own thread of control
run()
- Method in class com.wiley.posa3.partialacquisition.
Scheduler
Method that is called when an instance of the Thread object is created and is passed an MQScheduler.
S
SECURITY_TOKEN
- Static variable in class com.wiley.posa3.resourcelifecyclemanager.
ResourceType
SecurityToken resource
SWCoordinator
- class com.wiley.posa3.coordinator.
SWCoordinator
.
SWCoordinator implements the Coordinator interface and ensures that software updates involving multiple participants takes place.
SWCoordinator()
- Constructor for class com.wiley.posa3.coordinator.
SWCoordinator
Scheduler
- class com.wiley.posa3.partialacquisition.
Scheduler
.
The Scheduler runs in the active object's thread of control.
Scheduler(int, ThreadManager)
- Constructor for class com.wiley.posa3.partialacquisition.
Scheduler
Constructor.
SecurityToken
- class com.wiley.posa3.resourcelifecyclemanager.
SecurityToken
.
SecurityToken is a resource that implements both ManagedResource and EvictionInteface.
SecurityToken()
- Constructor for class com.wiley.posa3.resourcelifecyclemanager.
SecurityToken
Default Constructor
setFactory(ResourceType, ResourceFactory)
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceLifecycleManager
Set the factory for the type of resource
T
ThreadManager
- interface com.wiley.posa3.partialacquisition.
ThreadManager
.
ThreadManager provides an interface for managing a group of threads.
TopologyManager
- class com.wiley.posa3.partialacquisition.
TopologyManager
.
TopologyManager is responsile for managing the network topology and is the primary interface to be used by clients for fetching NE details.
TopologyManager()
- Constructor for class com.wiley.posa3.partialacquisition.
TopologyManager
toString()
- Method in interface com.wiley.posa3.common.
Identity
A stringified representation of the resource identity
toString()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceType
Convert to String
toValue()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
ResourceType
Get the int value
type()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
Connection
Get the type of resource.
type()
- Method in interface com.wiley.posa3.resourcelifecyclemanager.
ManagedResource
Return the type of the resource.
type()
- Method in class com.wiley.posa3.resourcelifecyclemanager.
SecurityToken
Get the type of resource.
U
updateSoftware()
- Method in class com.wiley.posa3.coordinator.
CentralAdministrator
Execute the task of updating the software at all subsystems
A
B
C
D
E
F
G
I
M
N
P
R
S
T
U
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright 2004 John Wiley and Sons. All Rights Reserved.