Packages that use SimpleTimer2
Package
Description
Core I2P package providing fundamental interfaces, version information, and entry points to essential I2P services, centered on I2PAppContext.
Implementation of a TCP-like (reliable, authenticated, in order) set of sockets for communicating over the IP-like (unreliable, unauthenticated, unordered) I2P messages.
The Kademlia distributed hash table (DHT) network database: lookup, store and explore jobs, the data store, the floodfill variants, and lookup throttling.
The I2P startup package loads configuration when I2P is started.
The router console user interface, implemented in routerconsole.jar, with these classes supporting the webapp in routerconsole.war.
General utility classes shared across the core libraries and the router.
Uses of SimpleTimer2 in net.i2p
Fields in net.i2p declared as SimpleTimer2Modifier and TypeFieldDescriptionprivate SimpleTimer2I2PAppContext._simpleTimer2The context's shared timer, created on demand.Methods in net.i2p that return SimpleTimer2Modifier and TypeMethodDescriptionI2PAppContext.simpleTimer2()Use instead ofSimpleTimer2.getInstance().Uses of SimpleTimer2 in net.i2p.client.streaming.impl
Fields in net.i2p.client.streaming.impl declared as SimpleTimer2Modifier and TypeFieldDescriptionprivate final SimpleTimer2[]RetransmissionTimer._shardsThe timers, split into shards to spread the lockingprivate final SimpleTimer2Connection._timerRetransmission timer.private final SimpleTimer2ConnectionHandler._timerTimer running the reaper tasks.Methods in net.i2p.client.streaming.impl that return SimpleTimer2Modifier and TypeMethodDescriptionRetransmissionTimer.getSharedTimer()A SimpleTimer2 instance for a new consumer.Constructors in net.i2p.client.streaming.impl with parameters of type SimpleTimer2ModifierConstructorDescription(package private)Cleaner(SimpleTimer2 pool, long period) Starts the decay schedule.CleanEvent(SimpleTimer2 timer) Builds the timer that cleans expired entries.Connection(I2PAppContext ctx, ConnectionManager manager, I2PSession session, SchedulerChooser chooser, SimpleTimer2 timer, PacketQueue queue, ConnectionPacketHandler handler, ConnectionOptions opts, boolean isInbound) Constructor for this connection.ConnectionHandler(I2PAppContext context, ConnectionManager mgr, SimpleTimer2 timer) Creates a new instance of ConnectionHandler.(package private)ConnThrottler(int max, int totalMax, long period, SimpleTimer2 timer) Connection throttle for incoming connection rates.Flusher(SimpleTimer2 timer) Flusher with the given timer.MessageOutputStream(I2PAppContext ctx, SimpleTimer2 timer, MessageOutputStream.DataReceiver receiver, int bufSize, int initBufSize) Stream with default passive flush delay.MessageOutputStream(I2PAppContext ctx, SimpleTimer2 timer, MessageOutputStream.DataReceiver receiver, int bufSize, int initBufSize, int passiveFlushDelay) Stream with specified passive flush delay.PacketQueue(I2PAppContext context, SimpleTimer2 timer) Opens the log, creates the status map and starts expiring old entries.RemoveExpired(SimpleTimer2 timer) Timer for the scheduled removal.TCBShare(I2PAppContext ctx, SimpleTimer2 timer) Creates a new TCB share cache.Uses of SimpleTimer2 in net.i2p.router.networkdb.kademlia
Constructors in net.i2p.router.networkdb.kademlia with parameters of type SimpleTimer2Uses of SimpleTimer2 in net.i2p.router.startup
Constructors in net.i2p.router.startup with parameters of type SimpleTimer2ModifierConstructorDescriptionDelayedRunClient(SimpleTimer2 pool, RouterContext enclosingContext, String className, String clientName, String[] args) Caller must call schedule() before this event fires.DelayedRunClient(SimpleTimer2 pool, RouterContext enclosingContext, String className, String clientName, String[] args, ThreadGroup threadGroup, ClassLoader cl) Caller must call schedule() before this event fires.(package private)WaitForRunningClient(SimpleTimer2 pool, RouterContext enclosingContext, String className, String clientName, String[] args) Builds the netdb wait job.Uses of SimpleTimer2 in net.i2p.router.web
Constructors in net.i2p.router.web with parameters of type SimpleTimer2ModifierConstructorDescriptionTrackedDelayedClient(String pluginName, SimpleTimer2 pool, RouterContext enclosingContext, String className, String clientName, String[] args, ThreadGroup threadGroup, ClassLoader cl) Builds a delayed client tracked to its plugin.Uses of SimpleTimer2 in net.i2p.util
Fields in net.i2p.util declared as SimpleTimer2Modifier and TypeFieldDescriptionprivate SimpleTimer2SimpleTimer2.TimedEvent._poolThe timer this event is scheduled on.Methods in net.i2p.util that return SimpleTimer2Modifier and TypeMethodDescriptionstatic SimpleTimer2SimpleTimer2.getInstance()If you have a context, use context.simpleTimer2() instead.Methods in net.i2p.util with parameters of type SimpleTimer2Modifier and TypeMethodDescriptionvoidSimpleTimer2.TimedEvent.setPool(SimpleTimer2 pool) Timer pool for this event.Constructors in net.i2p.util with parameters of type SimpleTimer2ModifierConstructorDescriptionTimedEvent(SimpleTimer2 pool) Create a new timed event.TimedEvent(SimpleTimer2 pool, long timeoutMs) Create a new timed event and automatically schedules it.