MCPcopy Create free account
hub / github.com/apple/foundationdb / main

Method main

recipes/java-recipes/MicroQueue.java:112–125  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

110 }
111
112 public static void main(String[] args){
113 clearSubspace(db, queue);
114 String[] line = {"Alice", "Bob", "Carol", "Dave", "Eve", "Frank","George",
115 "Harry", "Ian","Jack","Liz","Mary","Nathan"};
116
117 for(int i = 0; i < line.length; i++){
118 enqueue(db, line[i]);
119 }
120
121 Object o;
122 while((o = dequeue(db)) != null){
123 System.out.println(o);
124 }
125 }
126}

Callers

nothing calls this directly

Calls 3

clearSubspaceMethod · 0.95
enqueueMethod · 0.95
dequeueMethod · 0.95

Tested by

no test coverage detected