Skip to content

MemcachedClient.Remove - differentiate between item not found and other errors. #118

@amritaGoel

Description

@amritaGoel

Hi

I am using MemcachedClient.Remove function. It returns "true if the item was successfully removed from the cache; false otherwise." Is there a way to differentiate if it returned false because the item was not found or because of some other failure(Other than doing a lookup after remove). I would like to handle both cases differently in my code. In case of some other reason for failure, I would want to retry removing the item.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions