Skip to content

Instantly share code, notes, and snippets.

@GLitchfield
Created November 21, 2013 14:57
Show Gist options
  • Save GLitchfield/7583028 to your computer and use it in GitHub Desktop.
Save GLitchfield/7583028 to your computer and use it in GitHub Desktop.
public interface Subscription<T extends Metadata> extends Existential {
enum SubscriptionType {
NULL, REALTIME, FIFTEEN_MIN_DELAYED
}
SubscriptionType type();
T metadata();
Time subscribed(); // ?? Name
@Override
boolean isNull();
// NULL
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment