File tree Expand file tree Collapse file tree 4 files changed +5
-878
lines changed
main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache
test/java/org/apache/jackrabbit/oak/plugins/document/persistentCache Expand file tree Collapse file tree 4 files changed +5
-878
lines changed Original file line number Diff line number Diff line change 3535import org .apache .jackrabbit .oak .plugins .document .persistentCache .async .CacheActionDispatcher ;
3636import org .apache .jackrabbit .oak .plugins .document .persistentCache .broadcast .Broadcaster ;
3737import org .apache .jackrabbit .oak .plugins .document .persistentCache .broadcast .InMemoryBroadcaster ;
38- import org .apache .jackrabbit .oak .plugins .document .persistentCache .broadcast .TCPBroadcaster ;
39- import org .apache .jackrabbit .oak .plugins .document .persistentCache .broadcast .UDPBroadcaster ;
4038import org .apache .jackrabbit .oak .stats .StatisticsProvider ;
4139import org .h2 .mvstore .FileStore ;
4240import org .h2 .mvstore .MVMap ;
@@ -228,12 +226,6 @@ private void initBroadcast(String broadcast) {
228226 return ;
229227 } else if (broadcast .equals ("inMemory" )) {
230228 broadcaster = InMemoryBroadcaster .INSTANCE ;
231- } else if (broadcast .startsWith ("udp:" )) {
232- String config = broadcast .substring ("udp:" .length (), broadcast .length ());
233- broadcaster = new UDPBroadcaster (config );
234- } else if (broadcast .startsWith ("tcp:" )) {
235- String config = broadcast .substring ("tcp:" .length (), broadcast .length ());
236- broadcaster = new TCPBroadcaster (config );
237229 } else {
238230 throw new IllegalArgumentException ("Unknown broadcaster type " + broadcast );
239231 }
You can’t perform that action at this time.
0 commit comments