Skip to content

Instantly share code, notes, and snippets.

@GLitchfield
Created November 22, 2013 15:33
Show Gist options
  • Save GLitchfield/7601793 to your computer and use it in GitHub Desktop.
Save GLitchfield/7601793 to your computer and use it in GitHub Desktop.
public interface Subscription<T extends Metadata> extends Existential {
enum Lense {
REALTIME, DELAYED, REPLAY
}
Lense lense();
/**
*
* @return The meta-data object this subscription is for.
*/
T metadata();
@Override
boolean isNull();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment