Delete the state value for a (threadId, type) pair.
Get the state value for a (threadId, type) pair. Returns undefined when
no value has been set.
Initialize the thread-state store (create tables, indexes, etc).
Set the state value for a (threadId, type) pair. Full-replacement
semantics: the stored value becomes exactly value.
Delete all thread state. Used for testing.