Repository
JDP.Repository.AbstractItem
JDP.Repository.SharedConnection
JDP.Repository.fetch
JDP.Repository.getconn
JDP.Repository.refresh
JDP.Repository.refresh
JDP.Repository.with_conn
JDP.Repository
— Module.Allows saving and loading data to and from the cache(s)
JDP.Repository.AbstractItem
— Type.Some kind of item tracked by a tracker
JDP.Repository.SharedConnection
— Type.JDP.Repository.fetch
— Method.Get one or more items of the given in the specified container
The exact behaviour depends on what is requested. If the data can not be retrieved from the local data cache then it may request it from a remote source.
JDP.Repository.getconn
— Method.Use with_conn
JDP.Repository.refresh
— Method.Refresh the local cached data for the given bug references
JDP.Repository.refresh
— Method.Refresh the local cached data for the given item(s)
What data is updated depends on the type of item being refreshed. For items which are logically containers of other items, it may be the contained items which are updated.
JDP.Repository.with_conn
— Method.Do something with a Redis connection
with_conn(fun::Function)
Run the function fun(conn::RedisConnection)::Any
with the connection conn
from the connection pool. Returning the connection to the pool before returning.
Example
ret = with_conn() do conn
echo(conn, "foo")
end
@assert ret == "foo"
Returns the return value of fun
.