Skip to content

Commit

Permalink
#5039: rename to BeakerXClient
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroslawmalekcodete committed Jun 20, 2018
1 parent 3f05a8f commit 613658e
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions kernel/base/src/main/java/com/twosigma/beakerx/BeakerXClient.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*
* Copyright 2018 TWO SIGMA OPEN SOURCE, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.twosigma.beakerx;

import java.util.List;
import java.util.concurrent.SynchronousQueue;

public interface BeakerXClient {

void showProgressUpdate(String message, int progress);

void delBeaker();

String update(String name, Object value);

Object set(String name, Object value);

Object get(final String name);

SynchronousQueue<Object> getMessageQueue(String channel);

List<CodeCell> getCodeCells(String tagFilter);

void runByTag(String tag);

String getContext();
}

0 comments on commit 613658e

Please sign in to comment.