|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Identity | |
|---|---|
| com.sun.sgs.auth | Provides interfaces for identities and how to authenticate them. |
| com.sun.sgs.impl.auth | Provides simple implementations for identities and how to authenticate them. |
| com.sun.sgs.impl.kernel | Provides an implementation of the RedDwarf Server kernel. |
| com.sun.sgs.impl.profile | Provides an implementation for some interfaces in
com.sun.sgs.profile. |
| com.sun.sgs.impl.profile.listener | Provides implementations for ProfileListener. |
| com.sun.sgs.impl.protocol.simple | Provides an implementation of the protocol layer APIs using the
SimpleSgsProtocol. |
| com.sun.sgs.impl.service.nodemap | Provides an implementation of
NodeMappingService. |
| com.sun.sgs.impl.service.nodemap.affinity | Provides classes, interfaces, and utilities used to find affinity groups with the label propagation algorithm (LPA). |
| com.sun.sgs.impl.service.nodemap.affinity.dgb | Provides classes for a multi-node distributed graph builder implementation of the label propagation algorithm described in "Near linear time algorithm to detect community structures in large-scale networks" by Raghavan, Albert and Kumara (2007). |
| com.sun.sgs.impl.service.nodemap.affinity.dlpa | Provides classes for a multi-node, distributed algorithm implementation of the label propagation algorithm described in "Near linear time algorithm to detect community structures in large-scale networks" by Raghavan, Albert and Kumara (2007). |
| com.sun.sgs.impl.service.nodemap.affinity.dlpa.graph | Provides classes used to create the graphs for the fully distributed label propagation algorithm implementation. |
| com.sun.sgs.impl.service.nodemap.affinity.graph | Provides classes used to build graphs used by the label propagation algorithm (LPA). |
| com.sun.sgs.impl.service.nodemap.affinity.single | Provides classes for a single node implementation of the label propagation algorithm described in "Near linear time algorithm to detect community structures in large-scale networks" by Raghavan, Albert and Kumara (2007). |
| com.sun.sgs.impl.service.nodemap.policy | Provides implementations of
NodeAssignPolicy. |
| com.sun.sgs.impl.service.session | Provides an implementation of ClientSessionService. |
| com.sun.sgs.impl.service.task | Provides an implementation of TaskService. |
| com.sun.sgs.impl.util | Provides miscellaneous utility classes and methods. |
| com.sun.sgs.kernel | Provides the core system interfaces used by the RedDwarf Server. |
| com.sun.sgs.kernel.schedule | Provides queue ordering and retry behavior abstractions that may be used by scheduler implementations. |
| com.sun.sgs.profile | Interfaces used to create profiling information. |
| com.sun.sgs.protocol | Provides interfaces for the protocol layer. |
| com.sun.sgs.service | Provides interfaces and classes for services provided by the RedDwarf Server. |
| Uses of Identity in com.sun.sgs.auth |
|---|
| Methods in com.sun.sgs.auth that return Identity | |
|---|---|
Identity |
IdentityCoordinator.authenticateIdentity(IdentityCredentials credentials)
Authenticates the given credentials. |
Identity |
IdentityAuthenticator.authenticateIdentity(IdentityCredentials credentials)
Authenticates the given credentials. |
| Uses of Identity in com.sun.sgs.impl.auth |
|---|
| Classes in com.sun.sgs.impl.auth that implement Identity | |
|---|---|
class |
IdentityImpl
This is a basic implementation of Identity that maps a name
to the identity. |
| Methods in com.sun.sgs.impl.auth that return Identity | |
|---|---|
Identity |
NamePasswordAuthenticator.authenticateIdentity(IdentityCredentials credentials)
Authenticates the given credentials. |
Identity |
NullAuthenticator.authenticateIdentity(IdentityCredentials credentials)
Always authenticates the given user unless the credentials are not of type NamePasswordCredentials, in which case a
CredentialException is thrown. |
| Uses of Identity in com.sun.sgs.impl.kernel |
|---|
| Classes in com.sun.sgs.impl.kernel that implement Identity | |
|---|---|
class |
SystemIdentity
The system identity is pinned to the node it was created on and is not used for load balancing decisions. |
| Methods in com.sun.sgs.impl.kernel that return Identity | |
|---|---|
Identity |
IdentityCoordinatorImpl.authenticateIdentity(IdentityCredentials credentials)
Authenticates the given credentials. |
(package private) static Identity |
ContextResolver.getCurrentOwner()
Returns the current owner of the work being done by this thread. |
Identity |
TransactionProxyImpl.getCurrentOwner()
Returns the owner of the task that is executing the current transaction. |
Identity |
ScheduledTaskImpl.getOwner()
Returns the owner. |
| Methods in com.sun.sgs.impl.kernel with parameters of type Identity | |
|---|---|
TaskReservation |
TransactionSchedulerImpl.reserveTask(KernelRunnable task,
Identity owner)
Reserves the ability to run the given task. |
TaskReservation |
TaskSchedulerImpl.reserveTask(KernelRunnable task,
Identity owner)
Reserves the ability to run the given task. |
TaskReservation |
TransactionSchedulerImpl.reserveTask(KernelRunnable task,
Identity owner,
long startTime)
Reserves the ability to run the given task at a specified point in the future. |
TaskReservation |
TaskSchedulerImpl.reserveTask(KernelRunnable task,
Identity owner,
long startTime)
Reserves the ability to run the given task at a specified point in the future. |
TaskReservation |
TransactionSchedulerImpl.reserveTask(KernelRunnable task,
Identity owner,
Priority priority)
Reserves the ability to run the given task. |
void |
TransactionSchedulerImpl.runTask(KernelRunnable task,
Identity owner)
Runs the given task synchronously, returning when the task has completed or throwing an exception if the task fails. |
(package private) void |
TransactionSchedulerImpl.runUnboundedTask(KernelRunnable task,
Identity owner)
Package-private method that runs the given task in a transaction that is not bound by any timeout value (i.e., is bound only by the com.sun.sgs.txn.timeout.unbounded property value). |
RecurringTaskHandle |
TransactionSchedulerImpl.scheduleRecurringTask(KernelRunnable task,
Identity owner,
long startTime,
long period)
Schedules a task to start running at a specified point in the future, and continuing running on a regular period starting from that initial point. |
RecurringTaskHandle |
TaskSchedulerImpl.scheduleRecurringTask(KernelRunnable task,
Identity owner,
long startTime,
long period)
Schedules a task to start running at a specified point in the future, and continuing running on a regular period starting from that initial point. |
void |
TransactionSchedulerImpl.scheduleTask(KernelRunnable task,
Identity owner)
Schedules a task to run as soon as possible based on the specific scheduler implementation. |
void |
TaskSchedulerImpl.scheduleTask(KernelRunnable task,
Identity owner)
Schedules a task to run as soon as possible based on the specific scheduler implementation. |
void |
TransactionSchedulerImpl.scheduleTask(KernelRunnable task,
Identity owner,
long startTime)
Schedules a task to run at a specified point in the future. |
void |
TaskSchedulerImpl.scheduleTask(KernelRunnable task,
Identity owner,
long startTime)
Schedules a task to run at a specified point in the future. |
void |
TransactionSchedulerImpl.scheduleTask(KernelRunnable task,
Identity owner,
Priority priority)
Schedules a task to run as soon as possible based on the specific scheduler implementation. |
(package private) static void |
ContextResolver.setTaskState(KernelContext ctx,
Identity owner)
Package-private method used to set task state. |
| Constructors in com.sun.sgs.impl.kernel with parameters of type Identity | |
|---|---|
ScheduledTaskImpl.Builder(KernelRunnable task,
Identity owner,
Priority priority)
Constructs a Builder object that takes three required
parameters for building a ScheduledTaskImpl. |
|
| Uses of Identity in com.sun.sgs.impl.profile |
|---|
| Fields in com.sun.sgs.impl.profile declared as Identity | |
|---|---|
(package private) Identity |
ProfileReportImpl.owner
|
| Methods in com.sun.sgs.impl.profile that return Identity | |
|---|---|
Identity |
ProfileReportImpl.getTaskOwner()
Returns the owner of the run task. |
| Methods in com.sun.sgs.impl.profile with parameters of type Identity | |
|---|---|
(package private) void |
ProfileCollectorImpl.startTask(KernelRunnable task,
Identity owner,
long scheduledStartTime,
int readyCount)
Tells the collector that a new task is starting in the context of the calling thread. |
void |
ProfileCollectorHandle.startTask(KernelRunnable task,
Identity owner,
long scheduledStartTime,
int readyCount)
Tells the collector that a new task is starting in the context of the calling thread. |
void |
ProfileCollectorHandleImpl.startTask(KernelRunnable task,
Identity owner,
long scheduledStartTime,
int readyCount)
Tells the collector that a new task is starting in the context of the calling thread. |
| Constructors in com.sun.sgs.impl.profile with parameters of type Identity | |
|---|---|
ProfileReportImpl(KernelRunnable task,
Identity owner,
long scheduledStartTime,
int readyCount)
Creates an instance of ProfileReportImpl with the
actual starting time being set to the current time. |
|
| Uses of Identity in com.sun.sgs.impl.profile.listener |
|---|
| Constructors in com.sun.sgs.impl.profile.listener with parameters of type Identity | |
|---|---|
AccessedObjectsListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of AccessedObjectsListener. |
|
AggregateProfileListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of AggregateProfileListener. |
|
AggregateTaskListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of AggregateTaskListener. |
|
OperationLoggingProfileOpListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of OperationLoggingProfileOpListener. |
|
ProfileSampleListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of ProfileSampleListener. |
|
ProfileSummaryListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of ProfileSummaryListener. |
|
RuntimeHistogramListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of RuntimeHistogramListener. |
|
SampleJMXListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of SampleJMXListener. |
|
SnapshotParticipantListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of SnapshotParticipantListener. |
|
SnapshotProfileListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of SnapshotProfileListener. |
|
SnapshotTaskListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of RuntimeHistogramListener. |
|
TaskRuntimeGraphOutputListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Creates an instance of TaskRuntimeGraphOutputListener. |
|
| Uses of Identity in com.sun.sgs.impl.protocol.simple |
|---|
| Methods in com.sun.sgs.impl.protocol.simple that return Identity | |
|---|---|
Identity |
SimpleSgsProtocolAcceptor.authenticate(String name,
String password)
Returns the authenticated identity for the specified name and
password. |
protected Identity |
SimpleSgsProtocolImpl.getIdentity()
Returns the associated identity, or null if the client has
not yet authenticated. |
| Uses of Identity in com.sun.sgs.impl.service.nodemap |
|---|
| Methods in com.sun.sgs.impl.service.nodemap that return Identity | |
|---|---|
(package private) Identity |
IdentityMO.getIdentity()
Returns the identity. |
| Methods in com.sun.sgs.impl.service.nodemap that return types with arguments of type Identity | |
|---|---|
Iterator<Identity> |
NodeMappingServiceImpl.getIdentities(long nodeId)
Returns an Iterator for the set of identities assigned to a node. |
| Methods in com.sun.sgs.impl.service.nodemap with parameters of type Identity | |
|---|---|
void |
NotifyClient.added(Identity id,
Node oldNode)
An identity has been assigned to this node. |
boolean |
NodeMappingServerImpl.assertValid(Identity identity)
Check the validity of the data store for a particular identity. |
(package private) boolean |
NodeMappingServiceImpl.assertValid(Identity identity)
Check the validity of the data store for a particular identity. |
boolean |
NodeMappingServer.assertValid(Identity identity)
Check the validity of the data store for a particular identity. |
long |
NodeMappingServiceImpl.assignNode(Class service,
Identity identity)
Assigns the identity to a node and adds the assignment to the map. |
long |
NodeMappingServerImpl.assignNode(Class service,
Identity identity,
long requestingNode)
Assigns the identity to a node and indicates that the service class believes this identity is active. |
long |
NodeMappingServer.assignNode(Class service,
Identity id,
long requestingNode)
Assigns the identity to a node and indicates that the service class believes this identity is active. |
void |
NodeMappingServerImpl.canMove(Identity id)
All IdentityRelocationListeners have completed their work,
so it's safe to move the identity. |
void |
NodeMappingServer.canMove(Identity id)
All IdentityRelocationListeners have completed their work,
so it's safe to move the identity. |
void |
NodeMappingServerImpl.canRemove(Identity id)
The identity's reference count has gone to zero, so it can be removed. |
void |
NodeMappingServer.canRemove(Identity id)
The identity's reference count has gone to zero, so it can be removed. |
long |
NodeAssignPolicy.chooseNode(long requestingNode,
Identity id)
Choose a node to assign an identity to. |
(package private) static String |
NodeMapUtil.getIdentityKey(Identity id)
Returns a identity key for the given id. |
Node |
NodeMappingServiceImpl.getNode(Identity id)
Returns the live node to which the identity is assigned. |
(package private) long |
NodeMappingServerImpl.getNodeForIdentity(Identity id)
Get the node an identity is mapped to. |
(package private) static String |
NodeMapUtil.getNodeKey(long nodeId,
Identity id)
Returns a node key for the given nodeId and id. |
(package private) static String |
NodeMapUtil.getPartialStatusKey(Identity id)
Returns a status key for a given id. |
(package private) static String |
NodeMapUtil.getPartialStatusKey(Identity id,
long nodeId)
Returns a status key for the given id and nodeId. |
(package private) static String |
NodeMapUtil.getStatusKey(Identity id,
long nodeId,
String serviceName)
Returns a status key for the given id, nodeId,
and serviceName. |
void |
NotifyClient.prepareRelocate(Identity id,
long newNodeId)
An identity has been selected for relocation from this node. |
void |
NotifyClient.removed(Identity id,
Node newNode)
An identity has been removed from this node. |
(package private) Set<String> |
NodeMappingServerImpl.reportFoundKeys(Identity identity)
Return the data store keys found for a particular identity. |
void |
NodeMappingServiceImpl.setStatus(Class service,
Identity identity,
boolean active)
Inform the NodeMappingService that a service instance has
observed a change in status of an identity on this node. |
| Constructors in com.sun.sgs.impl.service.nodemap with parameters of type Identity | |
|---|---|
IdentityMO(Identity id,
long nodeId)
Returns a new IdentityMO instance. |
|
| Uses of Identity in com.sun.sgs.impl.service.nodemap.affinity |
|---|
| Methods in com.sun.sgs.impl.service.nodemap.affinity that return types with arguments of type Identity | |
|---|---|
Set<Identity> |
RelocatingAffinityGroup.getIdentities()
Returns the set of Identities which are members of this group. |
Set<Identity> |
AffinitySet.getIdentities()
Returns the set of Identities which are members of this group. |
Set<Identity> |
AffinityGroup.getIdentities()
Returns the set of Identities which are members of this group. |
| Methods in com.sun.sgs.impl.service.nodemap.affinity with parameters of type Identity | |
|---|---|
(package private) void |
AffinitySet.addIdentity(Identity id)
Add the given identity to this affinity group. |
| Constructors in com.sun.sgs.impl.service.nodemap.affinity with parameters of type Identity | |
|---|---|
AffinitySet(long id,
long generation,
Identity identity)
Constructs a new affinity group with the given ID, generation number, and an initial identity to include. |
|
| Constructor parameters in com.sun.sgs.impl.service.nodemap.affinity with type arguments of type Identity | |
|---|---|
AffinitySet(long id,
long generation,
HashSet<Identity> identitySet)
Constructs a new affinity group with the given ID, generation number, and a set of initial identities to include. |
|
RelocatingAffinityGroup(long agid,
Map<Identity,Long> identities,
long generation)
Creates a new affinity group containing node information. |
|
| Uses of Identity in com.sun.sgs.impl.service.nodemap.affinity.dgb |
|---|
| Methods in com.sun.sgs.impl.service.nodemap.affinity.dgb with parameters of type Identity | |
|---|---|
LabelVertex |
DistGraphBuilder.getVertex(Identity id)
Gets the graph vertex for the given Identity. |
LabelVertex |
DistGraphBuilderServerImpl.getVertex(Identity id)
Gets the graph vertex for the given Identity. |
void |
DistGraphBuilder.updateGraph(Identity owner,
AccessedObjectsDetail detail)
Update the graph based on the objects accessed in a task. |
void |
DistGraphBuilderServerImpl.updateGraph(Identity owner,
AccessedObjectsDetail detail)
Update the graph based on the objects accessed in a task. |
void |
DistGraphBuilderServer.updateGraph(Identity owner,
Object[] objIds)
Update the graph based on the objects accessed in a task. |
void |
DistGraphBuilderServerImpl.updateGraph(Identity owner,
Object[] objIds)
Update the graph based on the objects accessed in a task. |
| Uses of Identity in com.sun.sgs.impl.service.nodemap.affinity.dlpa |
|---|
| Methods in com.sun.sgs.impl.service.nodemap.affinity.dlpa that return types with arguments of type Identity | |
|---|---|
ConcurrentMap<Identity,Map<Integer,Long>> |
LabelPropagation.getRemoteLabelMap()
Returns the remote label map. |
| Uses of Identity in com.sun.sgs.impl.service.nodemap.affinity.dlpa.graph |
|---|
| Methods in com.sun.sgs.impl.service.nodemap.affinity.dlpa.graph that return types with arguments of type Identity | |
|---|---|
Map<Object,Map<Identity,Long>> |
WeightedGraphBuilder.getObjectUseMap()
Returns a map of local object uses to the identities that used the objects, and a count of the number of uses. |
Map<Object,Map<Identity,Long>> |
DLPAGraphBuilder.getObjectUseMap()
Returns a map of local object uses to the identities that used the objects, and a count of the number of uses. |
Map<Object,Map<Identity,Long>> |
BipartiteGraphBuilder.getObjectUseMap()
Returns a map of local object uses to the identities that used the objects, and a count of the number of uses. |
| Methods in com.sun.sgs.impl.service.nodemap.affinity.dlpa.graph with parameters of type Identity | |
|---|---|
LabelVertex |
WeightedGraphBuilder.getVertex(Identity id)
Gets the graph vertex for the given Identity. |
LabelVertex |
BipartiteGraphBuilder.getVertex(Identity id)
Gets the graph vertex for the given Identity. |
void |
WeightedGraphBuilder.updateGraph(Identity owner,
AccessedObjectsDetail detail)
Update the graph based on the objects accessed in a task. |
void |
BipartiteGraphBuilder.updateGraph(Identity owner,
AccessedObjectsDetail detail)
Update the graph based on the objects accessed in a task. |
| Uses of Identity in com.sun.sgs.impl.service.nodemap.affinity.graph |
|---|
| Methods in com.sun.sgs.impl.service.nodemap.affinity.graph that return Identity | |
|---|---|
Identity |
LabelVertex.getIdentity()
Returns the identity this vertex represents. |
| Methods in com.sun.sgs.impl.service.nodemap.affinity.graph with parameters of type Identity | |
|---|---|
LabelVertex |
AffinityGraphBuilder.getVertex(Identity id)
Gets the graph vertex for the given Identity. |
void |
AffinityGraphBuilder.updateGraph(Identity owner,
AccessedObjectsDetail detail)
Update the graph based on the objects accessed in a task. |
| Constructors in com.sun.sgs.impl.service.nodemap.affinity.graph with parameters of type Identity | |
|---|---|
GraphListener(Properties properties,
Identity owner,
ComponentRegistry registry)
Constructs a new listener for affinity graph data. |
|
LabelVertex(Identity id)
Constructs a new vertex representing the given id and
initializes the label information to the hashcode of the id. |
|
| Uses of Identity in com.sun.sgs.impl.service.nodemap.affinity.single |
|---|
| Methods in com.sun.sgs.impl.service.nodemap.affinity.single with parameters of type Identity | |
|---|---|
LabelVertex |
SingleGraphBuilder.getVertex(Identity id)
Gets the graph vertex for the given Identity. |
void |
SingleGraphBuilder.updateGraph(Identity owner,
AccessedObjectsDetail detail)
Update the graph based on the objects accessed in a task. |
void |
SingleGraphBuilder.updateGraph(Identity owner,
Object[] objIds)
Updates the graph with the given identity and object ids. |
| Uses of Identity in com.sun.sgs.impl.service.nodemap.policy |
|---|
| Methods in com.sun.sgs.impl.service.nodemap.policy with parameters of type Identity | |
|---|---|
long |
AbstractNodePolicy.chooseNode(long requestingNode,
Identity id)
Choose a node to assign an identity to. |
| Uses of Identity in com.sun.sgs.impl.service.session |
|---|
| Fields in com.sun.sgs.impl.service.session declared as Identity | |
|---|---|
(package private) Identity |
ClientSessionHandler.identity
The identity for this session. |
| Methods in com.sun.sgs.impl.service.session with parameters of type Identity | |
|---|---|
(package private) void |
ClientSessionServiceImpl.addHandler(BigInteger sessionRefId,
ClientSessionHandler handler,
Identity identity)
Adds the handler for the specified session to the internal session handler map. |
byte[] |
ClientSessionServer.relocatingSession(Identity identity,
byte[] sessionId,
long oldNodeId)
Notifies this server that the client session with the specified identity and sessionId is relocating to this
server's node from the old node (specified by oldNodeId). |
(package private) boolean |
ClientSessionServiceImpl.removeUserLogin(Identity identity,
ClientSessionHandler handler)
Notifies this service that the specified identity is no
longer logged in using the specified handler so that
internal bookkeeping can be adjusted accordingly. |
(package private) void |
ClientSessionServiceImpl.runTransactionalTask(KernelRunnable task,
Identity ownerIdentity)
Runs the specified task immediately, in a transaction. |
(package private) void |
ClientSessionServiceImpl.scheduleTask(KernelRunnable task,
Identity ownerIdentity)
Schedules a non-durable, transactional task using the given Identity as the owner. |
(package private) boolean |
ClientSessionServiceImpl.validateUserLogin(Identity identity,
ClientSessionHandler handler,
boolean loggingIn)
Validates the identity of the user logging in and returns
true if the login is allowed to proceed, and false
if the login is denied. |
| Constructors in com.sun.sgs.impl.service.session with parameters of type Identity | |
|---|---|
ClientSessionHandler(ClientSessionServiceImpl sessionService,
DataService dataService,
SessionProtocol sessionProtocol,
Identity identity,
RequestCompletionHandler<SessionProtocolHandler> completionHandler)
Constructs an handler for a client session that is logging in. |
|
ClientSessionHandler(ClientSessionServiceImpl sessionService,
DataService dataService,
SessionProtocol sessionProtocol,
Identity identity,
RequestCompletionHandler<SessionProtocolHandler> completionHandler,
BigInteger sessionRefId)
Constructs an handler for a client session. |
|
ClientSessionImpl(ClientSessionServiceImpl sessionService,
Identity identity,
Set<Delivery> deliveries,
int maxMessageLength)
Constructs an instance of this class with the specified sessionService, identity, and supported deliveries,
and stores this instance with the following bindings: |
|
| Uses of Identity in com.sun.sgs.impl.service.task |
|---|
| Methods in com.sun.sgs.impl.service.task that return Identity | |
|---|---|
(package private) Identity |
PendingTask.getIdentity()
Returns the identity that owns this task. |
| Methods in com.sun.sgs.impl.service.task with parameters of type Identity | |
|---|---|
void |
TaskServiceImpl.mappingAdded(Identity id,
Node oldNode)
Notifies this listener that an identity has been added to this node. |
void |
TaskServiceImpl.mappingRemoved(Identity id,
Node newNode)
Notifies this listener that an identity has been removed from this node. |
| Constructors in com.sun.sgs.impl.service.task with parameters of type Identity | |
|---|---|
PendingTask(Identity identity)
Creates an instance of PendingTask. |
|
| Uses of Identity in com.sun.sgs.impl.util |
|---|
| Fields in com.sun.sgs.impl.util declared as Identity | |
|---|---|
protected Identity |
AbstractService.taskOwner
The task owner. |
| Methods in com.sun.sgs.impl.util with parameters of type Identity | ||
|---|---|---|
static
|
KernelCallable.call(KernelCallable<R> callable,
TransactionScheduler txnScheduler,
Identity taskOwner)
Runs the specified callable (by invoking its call
method) in a transaction using the specified txnScheduler
and taskOwner and returns the result. |
|
| Uses of Identity in com.sun.sgs.kernel |
|---|
| Methods in com.sun.sgs.kernel with parameters of type Identity | |
|---|---|
void |
TaskQueue.addTask(KernelRunnable task,
Identity owner)
Adds a task to this dependency queue. |
TaskReservation |
TransactionScheduler.reserveTask(KernelRunnable task,
Identity owner)
Reserves the ability to run the given task. |
TaskReservation |
TaskScheduler.reserveTask(KernelRunnable task,
Identity owner)
Reserves the ability to run the given task. |
TaskReservation |
TransactionScheduler.reserveTask(KernelRunnable task,
Identity owner,
long startTime)
Reserves the ability to run the given task at a specified point in the future. |
TaskReservation |
TaskScheduler.reserveTask(KernelRunnable task,
Identity owner,
long startTime)
Reserves the ability to run the given task at a specified point in the future. |
TaskReservation |
PriorityScheduler.reserveTask(KernelRunnable task,
Identity owner,
Priority priority)
Reserves the ability to run the given task. |
void |
TransactionScheduler.runTask(KernelRunnable task,
Identity owner)
Runs the given task synchronously, returning when the task has completed or throwing an exception if the task fails. |
RecurringTaskHandle |
TransactionScheduler.scheduleRecurringTask(KernelRunnable task,
Identity owner,
long startTime,
long period)
Schedules a task to start running at a specified point in the future, and continuing running on a regular period starting from that initial point. |
RecurringTaskHandle |
TaskScheduler.scheduleRecurringTask(KernelRunnable task,
Identity owner,
long startTime,
long period)
Schedules a task to start running at a specified point in the future, and continuing running on a regular period starting from that initial point. |
void |
TransactionScheduler.scheduleTask(KernelRunnable task,
Identity owner)
Schedules a task to run as soon as possible based on the specific scheduler implementation. |
void |
TaskScheduler.scheduleTask(KernelRunnable task,
Identity owner)
Schedules a task to run as soon as possible based on the specific scheduler implementation. |
void |
TransactionScheduler.scheduleTask(KernelRunnable task,
Identity owner,
long startTime)
Schedules a task to run at a specified point in the future. |
void |
TaskScheduler.scheduleTask(KernelRunnable task,
Identity owner,
long startTime)
Schedules a task to run at a specified point in the future. |
void |
PriorityScheduler.scheduleTask(KernelRunnable task,
Identity owner,
Priority priority)
Schedules a task to run as soon as possible based on the specific scheduler implementation. |
| Uses of Identity in com.sun.sgs.kernel.schedule |
|---|
| Methods in com.sun.sgs.kernel.schedule that return Identity | |
|---|---|
Identity |
ScheduledTask.getOwner()
Returns the owner. |
| Uses of Identity in com.sun.sgs.profile |
|---|
| Methods in com.sun.sgs.profile that return Identity | |
|---|---|
Identity |
ProfileReport.getTaskOwner()
Returns the owner of the run task. |
| Uses of Identity in com.sun.sgs.protocol |
|---|
| Methods in com.sun.sgs.protocol with parameters of type Identity | |
|---|---|
void |
ProtocolListener.newLogin(Identity identity,
SessionProtocol protocol,
RequestCompletionHandler<SessionProtocolHandler> completionHandler)
Handles a new login request for the specified identity and
corresponding protocol, and when this listener has completed
processing the request, invokes the
completed method on the
given completionHandler with a Future containing
the result of the login request. |
| Uses of Identity in com.sun.sgs.service |
|---|
| Methods in com.sun.sgs.service that return Identity | |
|---|---|
Identity |
TransactionProxy.getCurrentOwner()
Returns the owner of the task that is executing the current transaction. |
| Methods in com.sun.sgs.service that return types with arguments of type Identity | |
|---|---|
Iterator<Identity> |
NodeMappingService.getIdentities(long nodeId)
Returns an Iterator for the set of identities assigned to a node. |
| Methods in com.sun.sgs.service with parameters of type Identity | |
|---|---|
long |
NodeMappingService.assignNode(Class service,
Identity identity)
Assigns the identity to a node and adds the assignment to the map. |
Node |
NodeMappingService.getNode(Identity identity)
Returns the live node to which the identity is assigned. |
void |
NodeMappingListener.mappingAdded(Identity id,
Node oldNode)
Notifies this listener that an identity has been added to this node. |
void |
NodeMappingListener.mappingRemoved(Identity id,
Node newNode)
Notifies this listener that an identity has been removed from this node. |
void |
IdentityRelocationListener.prepareToRelocate(Identity id,
long newNodeId,
SimpleCompletionHandler handler)
Notifies this listener that the specified id has been
selected for relocation to newNodeId and that this listener
needs to prepare for that move. |
void |
NodeMappingService.setStatus(Class service,
Identity identity,
boolean active)
Inform the NodeMappingService that a service instance has
observed a change in status of an identity on this node. |
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||