public class SummaryCommand extends Object
Constructor and Description |
---|
SummaryCommand(MetaMasterClient metaMasterClient,
BlockMasterClient blockMasterClient,
String dateFormatPattern,
PrintStream printStream)
Creates a new instance of
SummaryCommand . |
public SummaryCommand(MetaMasterClient metaMasterClient, BlockMasterClient blockMasterClient, String dateFormatPattern, PrintStream printStream)
SummaryCommand
.metaMasterClient
- client to connect to meta masterblockMasterClient
- client to connect to block masterdateFormatPattern
- the pattern to follow when printing the dateprintStream
- stream to print summary information topublic int run() throws IOException
IOException
Copyright © 2023. All Rights Reserved.