-
- All Known Implementing Classes:
PostUploadHookChain
public interface PostUploadHookHook invoked byUploadPackafter 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
ThreadLocalto remember the connection information before invoking UploadPack.- Since:
- 4.1
-
-
Field Summary
Fields Modifier and Type Field Description static PostUploadHookNULLA simple no-op hook.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonPostUpload(PackStatistics stats)Notifies the hook that a pack has been sent.
-
-
-
Field Detail
-
NULL
static final PostUploadHook NULL
A simple no-op hook.
-
-
Method Detail
-
onPostUpload
void onPostUpload(PackStatistics stats)
Notifies the hook that a pack has been sent.- Parameters:
stats- the statistics gathered byPackWriterfor the uploaded pack
-
-