I want to specify a TTL when it creates the object or at least fail when the record doesnt already exist, so that i can manually create it with the new TTL. What would be the best/most efficient way to do this?
Good catch. We already have an open ticket for extending the operate() method’s OPERATOR_TOUCH specification, which will be the way to do what you’re asking for. Expect it in one of the upcoming releases (for now, it is not yet available).