PostUploadHookChain
instead.@Deprecated public class UploadPackLoggerChain extends java.lang.Object implements UploadPackLogger
loggers are run in the order passed to the constructor.
Modifier and Type | Field and Description |
---|---|
private int |
count
Deprecated.
|
private UploadPackLogger[] |
loggers
Deprecated.
|
NULL
Modifier | Constructor and Description |
---|---|
private |
UploadPackLoggerChain(UploadPackLogger[] loggers,
int count)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UploadPackLogger |
newChain(java.util.List<? extends UploadPackLogger> loggers)
Deprecated.
Create a new logger chaining the given loggers together.
|
void |
onPackStatistics(PackWriter.Statistics stats)
Deprecated.
Notice to the logger after a pack has been sent.
|
private final UploadPackLogger[] loggers
private final int count
private UploadPackLoggerChain(UploadPackLogger[] loggers, int count)
public static UploadPackLogger newChain(java.util.List<? extends UploadPackLogger> loggers)
loggers
- loggers to execute, in order.public void onPackStatistics(PackWriter.Statistics stats)
onPackStatistics
in interface UploadPackLogger
stats
- the statistics after sending a pack to the client.