 | RedisQueryPersistenceServiceIsRegistered Method |
Returns true if the query identifier has been registered
Namespace: SanteDB.Caching.RedisAssembly: SanteDB.Caching.Redis (in SanteDB.Caching.Redis.dll) Version: 3.0.2081-alpha+ce906ccc8091ff0a3c40d1fff3e2485e75a86c5b
Syntaxpublic bool IsRegistered(
Guid queryId
)
Public Function IsRegistered (
queryId As Guid
) As Boolean
public:
virtual bool IsRegistered(
Guid queryId
) sealed
abstract IsRegistered :
queryId : Guid -> bool
override IsRegistered :
queryId : Guid -> bool Parameters
- queryId Guid
- The UUID of the stateful query to determine state of
Return Value
BooleanTrue if the
queryId has been registered with the query provider
Implements
IQueryPersistenceServiceIsRegistered(Guid)
RemarksThis method is used by callers to determine whether an inbound query request has already been executed and registered. Typically when this method
returns true, the caller invoke GetQueryResults(Guid, Int32, Int32) rather than re-query the database. This, in effect, locks the results
See Also