Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2

Revert "BAEL-3275: Using blocking queue for pub-sub"
This commit is contained in:
Eric Martin
2019-10-31 20:43:47 -05:00
committed by GitHub
parent db85c8f275
commit 3225470df5
20543 changed files with 1642750 additions and 0 deletions
@@ -0,0 +1,19 @@
package com.baeldung;
/**
* Created by johnson on 3/9/17.
*/
public class CustomMessage {
private String message;
public CustomMessage() {
}
public CustomMessage(String message) {
this.message = message;
}
public String getMessage() {
return message;
}
}
@@ -0,0 +1,21 @@
package com.baeldung;
public class Ledger {
public Ledger() {
}
public Ledger(String name) {
this.name = name;
}
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
@@ -0,0 +1,21 @@
package com.baeldung;
import org.redisson.api.annotation.REntity;
import org.redisson.api.annotation.RId;
/**
* Created by johnson on 3/9/17.
*/
@REntity
public class LedgerLiveObject {
@RId
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
@@ -0,0 +1,17 @@
package com.baeldung;
import java.util.Arrays;
import java.util.List;
/**
* Created by johnson on 3/9/17.
*/
public class LedgerServiceImpl implements LedgerServiceInterface {
String[] returnArray = {"entry1","entry2","entry3"};
@Override
public List<String> getEntries(int count) {
return Arrays.asList(returnArray);
}
}
@@ -0,0 +1,10 @@
package com.baeldung;
import java.util.List;
/**
* Created by johnson on 3/9/17.
*/
public interface LedgerServiceInterface {
List<String> getEntries(int count);
}