@Component public class SystemLogQueue extends Object
Modifier and Type | Field and Description |
---|---|
static BlockingQueue<LoggerEntity> |
blockingQueue |
Constructor and Description |
---|
SystemLogQueue() |
Modifier and Type | Method and Description |
---|---|
LoggerEntity |
poll() |
void |
produce(LoggerEntity systemLog) |
public static BlockingQueue<LoggerEntity> blockingQueue
public void produce(LoggerEntity systemLog)
systemLog
- public LoggerEntity poll() throws InterruptedException
InterruptedException
Copyright © 2019. All rights reserved.