public interface PostUploadHook
UploadPack after the pack has been uploaded.
Implementors of the interface are responsible for associating the current
thread to a particular connection, if they need to also include connection
information. One method is to use a ThreadLocal to remember
the connection information before invoking UploadPack.
| Modifier and Type | Field and Description |
|---|---|
static PostUploadHook |
NULL
A simple no-op hook.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onPostUpload(PackStatistics stats)
Notifies the hook that a pack has been sent.
|
static final PostUploadHook NULL
void onPostUpload(PackStatistics stats)
stats - the statistics gathered by PackWriter for the uploaded
packCopyright © 2016 Eclipse JGit Project. All rights reserved.