tensorflow:: serving:: UntypedServableHandle
This is an abstract class.
#include <servable_handle.h>
A non-templatized handle to a servable, used internally in the Manager to retrieve a type-erased servable object from the Loader.
Summary
The handle keeps the underlying object alive as long as the handle is alive. The frontend should not hold onto it for a long time, because holding it can delay servable reloading.
Inheritance
Direct Known Subclasses:tensorflow::serving::SharedPtrHandle
Constructors and Destructors |
|
---|---|
~UntypedServableHandle()
|
Public functions |
|
---|---|
id() const =0
|
virtual const ServableId &
|
servable()=0
|
virtual AnyPtr
|
Public functions
id
virtual const ServableId & id() const =0
servable
virtual AnyPtr servable()=0
~UntypedServableHandle
virtual ~UntypedServableHandle()=default