public class ItemCountWatchdogServiceImpl extends Object implements ItemCountWatchdogService
Constructor and Description |
---|
ItemCountWatchdogServiceImpl(ItemService itemService,
EmailSender emailSender)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
scanItems()
Goes through all items and sends notification with those that are below threshold
|
public ItemCountWatchdogServiceImpl(ItemService itemService, EmailSender emailSender)
itemService
- item serviceemailSender
- email senderpublic void scanItems()
ItemCountWatchdogService
scanItems
in interface ItemCountWatchdogService
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.