So the main listener can output interests sooner, we do the data store work in a separate thread. More...
Public Member Functions | |
RepositoryDataHandler (RepositoryServer server) | |
void | add (ContentObject co) |
void | addSync (ContentName target) |
void | run () |
The content listener runs this thread to store data using the content store. | |
void | shutdown () |
So the main listener can output interests sooner, we do the data store work in a separate thread.
void org.ccnx.ccn.impl.repo.RepositoryDataHandler.run | ( | ) |
The content listener runs this thread to store data using the content store.
The thread also checks for policy updates which may reset the repository's namespace and sends "early" nameEnumerationResponses when requested by the store.